- 3

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 test = Student ("Bob")

27th Jun 2021, 5:54 AM
Tia
1 Odpowiedź
0
self.name=name
27th Jun 2021, 6:43 AM
Tia