TORONTO KIDS COMPUTER CLUB | Aurora Saturday 13:00 Python Practice 11.14.
18645
post-template-default,single,single-post,postid-18645,single-format-standard,ajax_fade,page_not_loaded,,no_animation_on_touch,qode-theme-ver-7.6.2,wpb-js-composer js-comp-ver-6.10.0,vc_responsive

Aurora Saturday 13:00 Python Practice 11.14.

17 Nov Aurora Saturday 13:00 Python Practice 11.14.

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:

No Comments

Sorry, the comment form is closed at this time.