Define a decorator that would be used to add a setter to the property egg. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

Define a decorator that would be used to add a setter to the property egg.

please slove here

3rd Sep 2016, 1:22 PM
Mohamed Ahmed Gaber
Mohamed Ahmed Gaber - avatar
11 Answers
+ 10
Ans: @egg.setter
19th May 2017, 4:28 PM
Mahnoor Shahzad
Mahnoor Shahzad - avatar
+ 5
@egg.setter
2nd Sep 2017, 11:49 AM
RAVIDEV PAL
+ 3
for properties function of class @property def ....(): statement for define decorator setter function you can call by @the_prop_name.setter so defing the decorator of property egg is @egg.setter
3rd Sep 2016, 5:11 PM
beauty1234
+ 2
@egg.setter
13th Sep 2017, 10:52 AM
Thangamani Mani
Thangamani Mani - avatar
+ 2
Answer is @egg.setter
25th Jan 2020, 12:57 PM
It suport
It  suport - avatar
+ 1
Define a decorator that would be used to add a setter to the property egg. Answer :- @egg.setter
28th Jun 2020, 5:06 AM
Gourav Tomar
Gourav Tomar - avatar
+ 1
@egg.setter
5th Dec 2020, 4:20 AM
ONESMUS CHERUIYOT
ONESMUS CHERUIYOT - avatar
+ 1
@egg.setter
5th Dec 2020, 12:35 PM
Hafiz Ramadhan
Hafiz Ramadhan - avatar
0
@egg.setter
20th Aug 2020, 2:42 PM
Ali Boukhou
Ali Boukhou - avatar
0
Define a decorator that would be used to add a setter to the property egg. answer : @egg.setter
8th Jun 2021, 10:54 AM
Madhavareddy
Madhavareddy - avatar
0
@egg.setter
16th Aug 2021, 10:06 AM
Sahana ca
Sahana ca - avatar