Run Code  | API  | Code Wall  | Users  | Misc  | Feedback  | Login  | Theme  | Privacy  | Patreon 

python, attributes, setter and getter the pythonic way (V2)

Language: Layout:
+ ] Show input
Absolute running time: 0.12 sec, cpu time: 0.08 sec, memory peak: 6 Mb, absolute service time: 0,13 sec 
edit mode |  history  | discussion
12 14
120 140
120 140
p1.get_x(): 0, p2.get_x(): 12
p21.x: 0, p22.x: 12
Error has occured: negativ number not allowed ..warum auch immer...