There really is no hope of making this code even half-way decent without spending the time to rewrite them all properly. Don't want to do any of that
25 lines
359 B
Python
Executable File
25 lines
359 B
Python
Executable File
from turtle import *
|
|
|
|
|
|
addshape("testimage.gif")
|
|
screensize(1080, 1920)
|
|
shape("testimage.gif")
|
|
color("red")
|
|
speed(1000)
|
|
|
|
|
|
def walk():
|
|
w = 10
|
|
length = 100
|
|
for i in range(4):
|
|
w += 10
|
|
width(w)
|
|
for i in range(4):
|
|
length += 40
|
|
fd(length)
|
|
rt(90)
|
|
|
|
|
|
walk()
|
|
exitonclick()
|