TORONTO KIDS COMPUTER CLUB | Blog
1815
paged,page-template,page-template-blog-large-image,page-template-blog-large-image-php,page,page-id-1815,paged-344,page-paged-344,ajax_fade,page_not_loaded,,qode-theme-ver-7.6.2,wpb-js-composer js-comp-ver-6.10.0,vc_responsive

Blog

22 Jan Monday Online Python Homework 01.21.

Question: Make a class definition for a  BankAccount. It should have attributes for : - its name (a string), - account number (a string or integer), - and balance (a float). It should have methods to: - make deposits with displaying the balance, - and make withdrawals with displaying the balance. Hint: ...

Read More

18 Jan Monday Online Python Homework 01.14.

Question 1:(please use function that return a value) Write a program to display information to a driver based on his/her speed according to the following table: km/h over the limit Fine 1 to 20 $100 21 to 30 $270 31 or above $500 Sample Input 1: Enter the speed limit: 40 Enter the recorded speed of the...

Read More