[Edu-sig] turtle: properties instead of setters/getters ?

2015-04-27 Thread Jurgis Pralgauskis
Hi, turtle module is nice way to introduce to Python, but, if I want to increase x by 10, I have to write t.setx( t.xcor() + 1) which is uglier (and not beginner friendly) than common: t.x = t.x + 1 beginners tend to forget () after xcor and so on... This could be achieved with several

Re: [Edu-sig] turtle: properties instead of setters/getters ?

2015-04-27 Thread Jurgis Pralgauskis
The same would apply to many other properties: y heading position speed pensize color shape shear tilt visible maybe sth else.. On Mon, Apr 27, 2015 at 6:19 PM, Jurgis Pralgauskis jurgis.pralgaus...@gmail.com wrote: Hi, turtle module is nice way to introduce to Python, but, if I want