Advertisement
Alimaggs

Untitled

Jun 7th, 2019
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.28 KB | None | 0 0
  1. import turtle
  2.  
  3. def DrawShapes():
  4.   window = turtle.Screen()
  5.   leo = turtle.Turtle()
  6.   leo.color("red")
  7.   leo.speed(5)
  8.   leo.forward(200)
  9.   leo.left(90)
  10.   leo.forward(200)
  11.   leo.left(90)
  12.   leo.forward(200)
  13.   leo.left(90)
  14.   leo.forward(200)
  15.   leo.left(90)
  16.  
  17.  
  18.  
  19. DrawShapes()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement