Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import turtle
- import random
- star = turtle.Turtle()
- for i in range(15):
- star.penup()
- x = random.randint(-200,200)
- y = random.randint(-200,200)
- turtle.goto(x, y)
- star.pendown()
- for i in range(5):
- star.forward(10)
- star.right(144)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement