Guest User

Untitled

a guest
Feb 18th, 2019
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. import turtle
  2.  
  3. josh = turtle.Turtle()
  4.  
  5. def makeTriangle():
  6. for i in [1, 2, 3]:
  7. print(i)
  8. josh.forward(100)
  9. josh.left(120)
  10.  
  11. makeTriangle()
  12. josh.left(120)
  13. makeTriangle()
  14. josh.left(120)
  15. makeTriangle()
  16.  
  17. turtle.done()
Add Comment
Please, Sign In to add comment