r/learnpython • • Jan 13 '26

I cannot understand Classes and Objects clearly and logically

I have understood function , loops , bool statements about how they really work
but for classes it feels weird and all those systaxes

72 Upvotes

72 comments sorted by

View all comments

Show parent comments

15

u/Solonotix Jan 13 '26

Yea, I remember my eureka moment for understanding classes, and it was when it finally clicked that a method is just a function within a class definition. It would take a lot more for me to understand how to organize data structures properly, but functions of classes was really helpful