+ 3
Class
What is class in python? Can someone explain in simple terms and their uses/functions please, thank you.
11 odpowiedzi
+ 10
Mayank Kushwaha ,
here are 3 links to short tutorials about classes in python, that could be found in the community section:
https://www.sololearn.com/learn/Python/2467/?ref=app
https://www.sololearn.com/learn/Python/2473/?ref=app
https://www.sololearn.com/learn/Python/2478/?ref=app
+ 3
0% progress of Python courses. Complete them you will get your answer.
Don't be lazy.
+ 3
Mayank Kushwaha Sorry, I edited my answer: It's Python Core
+ 3
Lothar Thank you very much!!! :D
+ 3
Class is like design of house ....with the help of that design you can build similar kind of houses ....in python ...you can make various similar kind of objects(some methods and attributes are similar) with that class
+ 3
Classes are more like blueprint for creation of an object. It list all the qualities that you can find in an object.with classes you can create a lot of object with the same qualities
+ 2
Classes and OOP are covered in Python Intermediate and Python Core
(edited)
+ 2
Mayank Kushwaha
Python for Beginners have basic concepts
You have to complete Python Core
Here is documentation on Class
https://docs.python.org/3/tutorial/classes.html
+ 2
Start from oop section
+ 1
A͢J - S͟o͟l͟o͟H͟e͟l͟p͟e͟r͟ Actually I've done 100% python beginner and 82% python data structure.
In that python data structure course, "class" was used while explaining "stacks" but "class" was never explained. So I asked.
So shall I start python core already without finishing data structure to get the answer?? Guide me if you wish. :)