+ 3
Define a decorator that would be used to add a setter to the property egg.
please slove here
11 Respuestas
+ 10
Ans:
@egg.setter
+ 5
@egg.setter
+ 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
+ 2
@egg.setter
+ 2
Answer is
@egg.setter
+ 1
Define a decorator that would be used to add a setter to the property egg.
Answer :- @egg.setter
+ 1
@egg.setter
+ 1
@egg.setter
0
@egg.setter
0
Define a decorator that would be used to add a setter to the property egg.
answer : @egg.setter
0
@egg.setter