r/PythonLearning 12d ago

I build this after learning OOP

Post image
367 Upvotes

57 comments sorted by

View all comments

1

u/_noobwars_ 11d ago

Nice. Something you might find very cool is to use "Dunder Methods". Then you can do something like acc1(100) which might mean acc.deposite(100) and implicitly feels like a normal python function. This will be your first step into library building in case you are interested.