Re: [Edu-sig] teaching python using turtle module

2009-12-02 Thread Daniel Ajoy
Re: teaching python using turtle module Posted by: "Pavel Boytchev" elicateam To: logofo...@yahoogroups.com Tue Dec 1, 2009 9:39 am (PST) Daniel Ajoy wrote: > On Tue, 01 Dec 2009 06:00:01 -0500, wrote: > >>> examples which use turtle with conditional structures (if- and while- >>> statements

Re: [Edu-sig] teaching python using turtle module

2009-12-01 Thread kirby urner
Gregor FYI: You'll find me linking to one Gregor in Vienna in this blog post, just beneath an archival photo of work by Alexander Graham Bell.[1] http://worldgame.blogspot.com/2009/12/meeting-with-sam.html ... providing more context and spin for this rhombic triancontahedron thread, all that muc

Re: [Edu-sig] teaching python using turtle module

2009-12-01 Thread John Posner
Hi Brian, If you want to start a little bit more simply, how about a program that draws alternating black and white squares. For the students who "get it" right away, challenge them to expand the program into one that draws an entire 8x8 checkerboard. HTH, John #- py

Re: [Edu-sig] teaching python using turtle module

2009-12-01 Thread Daniel Ajoy
On Tue, 01 Dec 2009 06:00:01 -0500, wrote: >> After a bit of playing, I realized that I couldn't think of many >> examples which use turtle with conditional structures (if- and while- >> statements), or functions that return values Many of these need the values of trigonometric functions to dete

Re: [Edu-sig] teaching python using turtle module

2009-12-01 Thread Daniel Ajoy
An example of using IF in a game with Logo: http://davidlongman.com/logo/projects/Shoot/docs/pdf/SHOOT.PDF Daniel ___ Edu-sig mailing list Edu-sig@python.org http://mail.python.org/mailman/listinfo/edu-sig

Re: [Edu-sig] teaching python using turtle module

2009-11-30 Thread kirby urner
On Mon, Nov 30, 2009 at 4:31 PM, Gregor Lingl wrote: << fascinating code >> > > Hoping, you will find this a bit interesting, > best regards > > Gregor > Really enlightening, both mathematically and from a coding point of view. I hadn't used turtle.py enough yet to know about the built-in "con

Re: [Edu-sig] teaching python using turtle module

2009-11-30 Thread Gregor Lingl
kirby urner schrieb: I'm glad turtle graphics intersected my thinking re extended precision decimals (Decimal type) on edu-sig just now. I've updated my tmods.py to contain a turtle rendering the plane-net of a T-mod: http://www.4dsolutions.net/ocn/python/tmod.py (runnable source) http://www.

Re: [Edu-sig] teaching python using turtle module

2009-11-30 Thread kirby urner
I'm glad turtle graphics intersected my thinking re extended precision decimals (Decimal type) on edu-sig just now. I've updated my tmods.py to contain a turtle rendering the plane-net of a T-mod: http://www.4dsolutions.net/ocn/python/tmod.py (runnable source) http://www.flickr.com/photos/17157..

Re: [Edu-sig] teaching python using turtle module

2009-11-30 Thread Gregor Lingl
Hello Brian, I think the most natural use of the if statement (using turtle graphics) occurs in recursive functions drawing trees, fractals and the like. This is well known from Logo, where recursion is the canonical way of doing repetitions. (But note, that Logo has tail recursion optimizaton!)

Re: [Edu-sig] teaching python using turtle module

2009-11-29 Thread kirby urner
On Sun, Nov 29, 2009 at 2:51 PM, Edward Cherlin wrote: << snip >> > Drunkard's Walk. > If our think tank (isepp.org) could have gotten permission, we'd have used that Monopoly guy (looks kinda like Planters peanut guy) randomly walking on like some chess board with a lamp post (reminds of Narni

Re: [Edu-sig] teaching python using turtle module

2009-11-29 Thread Brian Blais
On Nov 29, 2009, at 17:51 , Edward Cherlin wrote: If you use the Python-programmable tile in Turtle Art in Sugar, or Smalltalk in the Turtle Graphics in Etoys, it's even better. I'll have to check this out. sequences, where I can use a conditional to stop when the turtle would go off the scr

Re: [Edu-sig] teaching python using turtle module

2009-11-29 Thread Edward Cherlin
On Sun, Nov 29, 2009 at 11:34, Brian Blais wrote: > Hello, > I was just playing with the turtle module, and thought it was an interesting > way to augment the introduction to python (I teach college students, who > haven't had any programming).  It's a great way to introduce functions, > for-loops

[Edu-sig] teaching python using turtle module

2009-11-29 Thread Brian Blais
Hello, I was just playing with the turtle module, and thought it was an interesting way to augment the introduction to python (I teach college students, who haven't had any programming). It's a great way to introduce functions, for-loops, and general program structures. After a bit of pl