0

Fill the blank where I have made like this - - - - - and help me to complete my program.

Class person def_init_ (self, name) : Self. name=name @property def name( self) : return self_ name ------------------- (please fill this for setter for the property name) def name (self. value) self. value =value

14th Jul 2016, 11:42 AM
chaitanya
24 ответов
+ 8
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
25th Sep 2019, 2:12 AM
mukund biradar
mukund biradar - avatar
+ 3
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
+ 3
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
22nd Jul 2018, 2:55 AM
dhana sekar
dhana sekar - avatar
+ 2
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
17th Aug 2018, 12:49 PM
Ajay Bhanot Sharma
Ajay Bhanot Sharma - avatar
+ 1
List<string> li = new List<string>(); li.Add("Hi"); Console.Write(li[0]);
27th Mar 2021, 4:38 PM
Mahnoor Shahzad
Mahnoor Shahzad - avatar
0
Sorry if I offended you, I was merely suggesting you take a different approach to ask for help.
14th Jul 2016, 1:46 PM
Gershon Fosu
Gershon Fosu - avatar
0
Anybody can tell how to use setter for property in above peace of code
14th Jul 2016, 2:18 PM
chaitanya
0
@name.setter
18th Aug 2017, 10:05 AM
Rakhmon Matyusupov
Rakhmon Matyusupov - avatar
0
let prop = 'foo'; let o = { [ prop]: 'lol' , ['b' + 'ar'] : '123' };
5th Aug 2019, 2:03 PM
Aftab Ashraf
Aftab Ashraf - avatar
0
[ , :
16th Sep 2019, 11:19 AM
ISINGIZWE GASANA Aline
ISINGIZWE GASANA Aline - avatar
0
Fill in the blanks to create an object with its properties. let prop = 'foo'; let o = { [ prop]: 'lol' , ['b' + 'ar'] : '123' };
24th Dec 2019, 9:23 AM
Rana Abid
Rana Abid - avatar
0
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
1st Jun 2020, 8:06 PM
Srilakshmi Konduri
Srilakshmi Konduri - avatar
0
Fill in the blanks to create a List object, add an element with the value "Hi" to it, and output the elements value. List<string> li = new List<string>(); li .Add("Hi"); Console.Write(li[__]); can somebody tell me what the answer inside of that braces thank you :<
29th Dec 2020, 8:03 AM
Argyle Jayson M. Inacay
Argyle Jayson M. Inacay - avatar
0
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 hope it helps
26th Jan 2021, 2:08 PM
Olioli
Olioli - avatar
0
Fill in the blanks to make a setter for the property name. answer : 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
8th Jun 2021, 11:06 AM
Madhavareddy
Madhavareddy - avatar
- 1
Fill in the blanks to create an object with its properties. let prop = 'foo'; let o = { prop]: 'lol' ['b' + 'ar'] '123' };
19th Jun 2020, 4:32 AM
TRINH SON
TRINH SON - avatar
- 1
let prop = 'foo'; let o = { [ prop]: 'lol' , ['b' + 'ar'] : '123' };
28th Jun 2020, 8:44 AM
Faith Mundi
Faith Mundi - avatar
- 1
https://youtu.be/Tg4Du8eUFw8 full python tutorial video link
8th Jul 2020, 11:25 AM
Kailash Singh
Kailash Singh - avatar
- 1
class Person: def __init__(self, name): self.name = name def greeting(self): # Should return "hi, my name is " followed by the name of the Person. return f'hi, my name is, {self.name}' # Create a new instance with a name of your choice some_person = Person("Jane") # Call the greeting method print(some_person.greeting())
8th Nov 2020, 12:39 PM
Mbaga Tim
Mbaga Tim - avatar
- 1
Fill in the blanks to make a setter for the property name. 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
12th Oct 2021, 1:06 PM
Pratap Vasava
Pratap Vasava - avatar