teromakotero

Python_from_Scratch_01_ratkaisu

May 13th, 2019
390
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.30 KB | None | 0 0
  1. import turtle
  2. import background
  3. import time
  4.  
  5. pycat = turtle.Turtle()
  6. pycat.hideturtle()
  7. screen = turtle.Screen()
  8. image = ()
  9. image = "pycat_200_px_left.png"
  10. screen.addshape(image)
  11. pycat.shape(image)
  12. pycat.showturtle()
  13.  
  14. # KIRJOITA TÄMÄN RIVIN ALAPUOLELLE OMA KOODISI
  15. pycat.write("Hello, world!")
Advertisement
Add Comment
Please, Sign In to add comment