+ 3

Class

What is class in python? Can someone explain in simple terms and their uses/functions please, thank you.

18th Nov 2021, 11:52 AM
Mokshit Khandwala
11 odpowiedzi
18th Nov 2021, 3:35 PM
Lothar
Lothar - avatar
+ 3
0% progress of Python courses. Complete them you will get your answer. Don't be lazy.
18th Nov 2021, 12:40 PM
A͢J
A͢J - avatar
+ 3
Mayank Kushwaha Sorry, I edited my answer: It's Python Core
18th Nov 2021, 1:34 PM
Lisa
Lisa - avatar
+ 3
Lothar Thank you very much!!! :D
18th Nov 2021, 3:37 PM
Mokshit Khandwala
+ 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
18th Nov 2021, 6:17 PM
Er Mangesh Ghatkamble
Er Mangesh Ghatkamble - avatar
+ 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
19th Nov 2021, 6:31 PM
Halle
Halle - avatar
+ 2
Classes and OOP are covered in Python Intermediate and Python Core (edited)
18th Nov 2021, 1:18 PM
Lisa
Lisa - avatar
+ 2
Lisa I'm afraid i didn't find it in python for beginners, however, I'll look up in python intermediate. Thank you. ^^
18th Nov 2021, 1:32 PM
Mokshit Khandwala
+ 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
18th Nov 2021, 3:50 PM
A͢J
A͢J - avatar
+ 2
Start from oop section
19th Nov 2021, 4:25 PM
Timofey Ivanenko
Timofey Ivanenko - avatar
+ 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. :)
18th Nov 2021, 12:54 PM
Mokshit Khandwala