when I type my_bank = BankAccounts(300)
It said BankAccounts() takes no arguments
2 answers ( 0 marked as helpful)
Hey Handi,
Thank you for your comment!
Could you please provide the code that you have implemented, so that we can identify the problem?
Kind regards,
365 Hristina
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.