1 """ turtle-example-suite:
6 inspired by the Wikipedia article on turtle
7 graphics. (See example wikipedia1 for URLs)
9 First we create (ne-1) (i.e. 35 in this
10 example) copies of our first turtle p.
11 Then we let them perform their steps in
14 Followed by a complete undo().
16 from turtle
import Screen
, Turtle
, mainloop
17 from time
import clock
, sleep
21 #create ne-1 additional turtles
28 c
= abs(ne
/2.0-i
)/(ne
*.7)
29 # let those ne turtles make a step
55 while any([t
.undobufferentries() for t
in s
.turtles()]):
59 return "Laufzeit: %.3f sec" % (z1
+et
-at
)
62 if __name__
== '__main__':