Jak importować żółwia w Python
import turtle
win = turtle.Screen()
Elated Emu
import turtle
win = turtle.Screen()
import turtle
import random
ts = turtle.Screen()
t = turtle.Turtle()
q = int(input('Изображение ващего числа'))
t.speed(0)
ts.bgcolor("black")
t.goto(-100, -50)
while True:
t.speed(0)
a = random.randint(0, 255)
b = random.randint(0, 255)
c = random.randint(0, 255)
i = 0
for i in range(50):
t.speed(0)
t.pencolor(a, b, c)
t.forward(i)
t.left(q)
i = i + 1