¡@

Home 

python Programming Glossary: turtle

Reading two separate values in one line in python

http://stackoverflow.com/questions/13390264/reading-two-separate-values-in-one-line-in-python

python I need your help. This is my program so far import turtle turtle.showturtle def turtle_interface while True n 0 instructions.. I need your help. This is my program so far import turtle turtle.showturtle def turtle_interface while True n 0 instructions.. help. This is my program so far import turtle turtle.showturtle def turtle_interface while True n 0 instructions input .split..

How can I draw a bunch of squares?

http://stackoverflow.com/questions/8302942/how-can-i-draw-a-bunch-of-squares

be the proper way to do it. # usr bin python import turtle as t import time def start_point t.penup t.setpos 200 240 t.pendown.. start_point1 t.penup t.setpos 200 180 t.pendown def draw_turtle for a in range 4 t.forward 60 t.left 90 def draw_turtlerow for.. for a in range 4 t.forward 60 t.left 90 def draw_turtlerow for a in range 8 draw_turtle t.forward 60 def main start_point..

Implementing the Koch Curve?

http://stackoverflow.com/questions/932222/implementing-the-koch-curve

was bothered by the all the examples all being in the logo turtle style. So i set out to make my own that returned a list or coordinates... is in python and i basically ripped off the python turtle implementation but replaced the turtle specific stuff with basic.. off the python turtle implementation but replaced the turtle specific stuff with basic trig. It resulted in some ugly code...