- 3

Module 7 quiz

Guys I'm really stuck what do I have to write on p.7 of the quiz??

22nd Jan 2017, 5:29 PM
unknown
5 Réponses
+ 5
@name.setter is probably what your stuck on. See page two of the Properties lesson
22nd Jan 2017, 6:44 PM
Paul
Paul - avatar
+ 1
class Person: def __init__(self, name): self._name = name @property def name(self): return self._name @name.setter def name(self, value): self. _name = value
19th Oct 2017, 9:15 PM
Ahmed Arbi Matsio
Ahmed Arbi Matsio - avatar
0
and I got no more exp, lol
22nd Jan 2017, 5:30 PM
unknown
0
Complete the blanks to create a setter for the property name
22nd Jan 2017, 6:20 PM
unknown
0
1) @name.setter 2)_name
4th Jun 2020, 6:20 AM
gajula.saianudeep
gajula.saianudeep - avatar