Python_from_Scratch_06_ratkaisu
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.goto(0,0)
pycat.penup()
# KIRJOITA TÄMÄN RIVIN ALAPUOLELLE OMA KOODISI
while True:
numero = input("Anna numero")
numero = int(numero)
if(numero < 0):
pycat.clear()
pycat.write("Negatiivinen numero")
break
else:
pycat.clear()
pycat.write("Se on positiivinen numero")
Comments