SHARE
TWEET

Untitled

a guest Feb 18th, 2019 67 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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()
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