r/PythonLearning • • Oct 28 '26

I don't understand OOP

So i am a teen learning python, and i have learnt about classes, methods and objects, but i don't understand OOP, like what is it, where do we use it?

Please help mee

36 Upvotes

50 comments sorted by

View all comments

Show parent comment

1

u/nimbus3008 Oct 28 '26

Having a class method and an ordinary attribute with the same name is possible but not advised for a beginner.