nutsssssssssssss

L I N E S

Feb 8th, 2019
154
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.90 KB | None | 0 0
  1. import turtle
  2. import random
  3.  
  4. ms = turtle.Screen()
  5. ms.bgcolor("black")
  6.  
  7. line = turtle.Turtle()
  8. line.shape("circle")
  9. line.color("red")
  10. line.speed()
  11. line.shapesize(0.1, 0.1)
  12. linespeed = 15
  13.  
  14. line2 = turtle.Turtle()
  15. line2.shape("circle")
  16. line2.color("blue")
  17. line2.speed()
  18. line2.shapesize(0.1, 0.1)
  19. line2speed = 15
  20.  
  21. line3 = turtle.Turtle()
  22. line3.shape("circle")
  23. line3.color("green")
  24. line3.speed()
  25. line3.shapesize(0.1, 0.1)
  26. line3speed = 15
  27.  
  28. while True:
  29.         random.randrange
  30.         x = random.randint(-400, 400)
  31.         y = random.randint(-400, 400)
  32.         line.setx(x)
  33.         line.sety(y)
  34.  
  35.         random.randrange
  36.         x = random.randint(-400, 400)
  37.         y = random.randint(-400, 400)
  38.         line2.setx(x)
  39.         line2.sety(y)
  40.  
  41.         random.randrange
  42.         x = random.randint(-400, 400)
  43.         y = random.randint(-400, 400)
  44.         line3.setx(x)
  45.         line3.sety(y)
Advertisement
Add Comment
Please, Sign In to add comment