0

Under the object oriented section there is a question

class student: def _______(self, name): self.name = name test = student("bob") please let me know what will come in the blank.bcoz of this I am not able to move forward

25th Jan 2017, 1:54 PM
pranjal
2 Answers
0
__init__
25th Jan 2017, 2:22 PM
ramzi
ramzi - avatar
0
put 2 _ before and after init
25th Jan 2017, 2:22 PM
ramzi
ramzi - avatar