TypeError: account() takes no arguments


2 answers ( 0 marked as helpful)
Hey Devesh,
Thank you for reaching out!
On line 15, you've declared your method with the name __int__
rather than __init__
, i.e., you are missing an 'i'. If you correct this, your code should run smoothly.
Kind regards,
365 Hristina
Hi Hristina,
Thanks for the reply!
Yes it is working perfectly.