0

Def_init_(self)

why we are using init in function

4th Aug 2018, 11:29 AM
Rahul Shinde
Rahul Shinde - avatar
1 Answer
0
init is a constructor function, it is used when creating a new object of that class. read more about constructors on the internet. it's a very important part of OOP.
4th Aug 2018, 12:06 PM
Tomer Sim
Tomer Sim - avatar