0

Define a decorator

Here’s one! Define a decorator that would be used to add a setter to the property egg? It has a space then egg.*****? Characters represented by *****! Any ideas?

20th Feb 2019, 8:19 AM
Brent Malcolm
4 Réponses
+ 3
The solution is setter This is a special decorator in python OOP indicating that the function is setting a class property. https://www.sololearn.com/learn/Python/2472/
23rd Feb 2019, 2:51 AM
Tibor Santa
Tibor Santa - avatar
+ 2
Nope.
23rd Feb 2019, 3:15 AM
Tibor Santa
Tibor Santa - avatar
0
dont worry dude, ive solved it aboit 2 & 3/4 days ago!
23rd Feb 2019, 3:04 AM
Brent Malcolm
0
where do i know a Tibor from, hey man ya not a skydiver are you? man i know that name?
23rd Feb 2019, 3:05 AM
Brent Malcolm