Advertisement
jabela

turtlestamp

Oct 15th, 2018
248
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.38 KB | None | 0 0
  1. import turtle
  2. turtle.bgcolor("lightgreen")
  3. turtle.shape("turtle")
  4. turtle.color("blue")
  5.  
  6. turtle.penup()                
  7. size = 20
  8. for i in range(30):
  9.    turtle.stamp()             # Leave an impression on the canvas
  10.    size = size + 3            # Increase the size on every iteration
  11.    turtle.forward(size)       # Move turtle along
  12.    turtle.right(24)           #  ...  and turn
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement