SHARE
TWEET

Untitled

a guest Aug 19th, 2019 88 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. from turtle import Turtle
  2.  
  3. t  = Turtle()
  4.  
  5. for x in range(4):
  6.     t.right(300)
  7.     t.forward(100)
  8.     t.right(120)
  9.     t.forward(100)
  10.     t.right(30)
  11.    
  12. for x in range(4):
  13.     t.color("green")
  14.     t.forward(100)
  15.     t.right(90)
  16.    
  17. t.penup()
  18. t.goto(-250,0)
  19. t.pendown()
  20.  
  21. for x in range(6):
  22.     t.color("brown")
  23.     t.right(60)
  24.     t.forward(100)
  25.  
  26. t.penup()
  27. t.goto(-350,0)
  28. t.pendown()
  29.  
  30. for x in range(6):
  31.     t.color("red")
  32.     t.right(300)
  33.     t.forward(100)
  34.     t.right(120)
  35.     t.forward(100)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top