Advertisement
Guest User

Untitled

a guest
Apr 26th, 2015
201
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.32 KB | None | 0 0
  1. import risar
  2. import zelva
  3.  
  4. a = zelva.Turtle()
  5. b = zelva.Turtle()
  6.  
  7. print(a.path)
  8. print(b.path)
  9.  
  10. a.forward(100)
  11. a.set_color(risar.zelena)
  12. a.left()
  13. a.forward(100)
  14. a.set_color(risar.rdeca)
  15. a.left()
  16. a.forward(100)
  17.  
  18. b.set_color(risar.modra)
  19. b.right()
  20. b.forward(50)
  21.  
  22. print(a.path)
  23. print(b.path)
  24. risar.stoj()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement