TORONTO KIDS COMPUTER CLUB | Saturday 14:00 Python Homework 10.27.
15904
post-template-default,single,single-post,postid-15904,single-format-standard,ajax_fade,page_not_loaded,,qode-theme-ver-7.6.2,wpb-js-composer js-comp-ver-6.8.0,vc_responsive

Saturday 14:00 Python Homework 10.27.

30 Oct Saturday 14:00 Python Homework 10.27.

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.


No Comments

Sorry, the comment form is closed at this time.