I received error message in the console when running the first few lines of codes
When I put this in the console:
my_bank = BankAccount(300)
I got this error message in the console:
TypeError: BankAccount() takes no arguments
1 answers ( 0 marked as helpful)
Probably you have to apply __init__
method in the same way like in a video _> def __init__(self,name,age):
If you change __init__ to other word error will appear.