Interviews2 answers
What is __init__?
2 Answers
The __init__ initialized you data it used with constructor function.
Md SarfarajPosted Jul 23, 2019, 10:25 PM EDT
__init__ is a private as well as language defined function
Which acts as the constructor. It is defined as to initialize default values to class variables as well to invoke a class and to load the class into memory
Rohit GuptaPosted Jul 9, 2019, 8:22 PM EDT


