+ 1

Is this question is wrong?...i am not able to mkve ahead

25th Jan 2017, 1:16 PM
pranjal
8 Respuestas
+ 3
class Student: def __init__ (self, name): self.name = name test = Student("Bob"):
4th Jul 2019, 8:07 PM
Abdullahi Hassan
+ 1
It worked when underscored twice on either side on 'init' strange!!
12th Feb 2018, 5:13 AM
Thimmaraju Rudrappa
Thimmaraju Rudrappa - avatar
0
which one??
25th Jan 2017, 2:23 PM
ramzi
ramzi - avatar
0
Fill in the blanks to create a class and its constructor, taking one argument and assigning it to the "name" attribute. Then create an object of the class. Student: def (self, name): self = name test = Student("Bob" this one?
6th Feb 2017, 6:33 AM
akshay desai
0
I stuck on this one too
23rd Oct 2017, 10:17 AM
Ragnar Lothbrok
Ragnar Lothbrok - avatar
0
class Student: def_init_(self,name): self.name=name test=Student("Bob"):
15th Nov 2017, 10:53 AM
richard nyakiti
richard nyakiti - avatar
0
Fill in the blanks to create a class and its constructor, taking one argument and assigning it to the "name" attribute. Then create an object of the class. class Student: def __init__ (self, name): self.name = name test = Student("Bob"): =----------------------============= underscope in two it can work
20th Dec 2017, 6:46 AM
sureshkumar
0
no init is not working and i stuck in this one
15th Aug 2021, 1:44 PM
Sahana ca
Sahana ca - avatar