I started learning python, I got stuck by OOP. can someone please explain what OOP is all about? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

I started learning python, I got stuck by OOP. can someone please explain what OOP is all about?

I started learning python, I got stuck by OOP. can someone please explain what OOP is all about?

19th May 2021, 2:59 AM
The Hacker
The Hacker - avatar
2 Answers
+ 1
The Hacker Well, Python is an object-oriented programming language. This means that every data type in Python is a class (every string in Python is an instance of the class 'str'). OOP is what allows you to use all the built-in methods in Python. If you don't care about OOP, you'll still be able to make great codes but if you want to learn more about Python, then you'd have to have a basic knowledge about OOP.
19th May 2021, 6:29 AM
Calvin Thomas
Calvin Thomas - avatar