0
Def_init_(self)
why we are using init in function
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.
why we are using init in function