+ 2

is _init_ a constructor?

as per the example it seems it's a constructor?

29th Oct 2016, 12:28 AM
Shekhar Bahuguna
Shekhar Bahuguna - avatar
1 ответ
0
__init__ is used to define a constructor method
29th Oct 2016, 12:03 PM
Brian