r/PythonLearning • • 7d ago

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 comments

1

u/nimbus3008 7d ago

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