what is the __init__ method in python?
Answers
Answered by
1
Answer:
__init__" is a reseved method in python classes. It is known as a constructor in object oriented concepts. This method called when an object is created from the class and it allow the class to initialize the attributes of a class.
Similar questions
English,
8 days ago
English,
17 days ago
Computer Science,
17 days ago
Physics,
9 months ago
English,
9 months ago