Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import turtle
- import background
- import time
- pycat = turtle.Turtle()
- pycat.hideturtle()
- screen = turtle.Screen()
- image = ()
- image = "pycat_200_px_left.png"
- screen.addshape(image)
- pycat.shape(image)
- pycat.showturtle()
- pycat.penup()
- # KIRJOITA TÄMÄN RIVIN ALAPUOLELLE OMA KOODISI
- while True:
- pycat.forward(10)
- time.sleep(0.5)
- pycat.back(10)
- time.sleep(0.5)
Advertisement
Add Comment
Please, Sign In to add comment