+ 3
Python class constructor
def__init__(self,name,rollno,m1,m2): Plz explain what is constructor in easy way What does constructor do? Why we use it?
6 Answers
+ 2
It's a function that will automatically execute when you call a class and pass arguments to it
+ 1
What are you doing?
+ 1
Studying
0
Bro in English
0
開課前行為傾向於前述行為小企鵝企鵝侵入性
0
Hello