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
21 lines
340 B
Python
Executable File
21 lines
340 B
Python
Executable File
from turtle import *
|
|
|
|
shape("turtle")
|
|
color("blue")
|
|
|
|
distance = 10
|
|
pu()
|
|
|
|
for i in range(2):
|
|
fd(distance)
|
|
rt(20)
|
|
orientation = heading()
|
|
stamp()
|
|
while orientation > 0:
|
|
orientation = heading()
|
|
fd(distance)
|
|
rt(20)
|
|
stamp()
|
|
distance += 2
|
|
print(orientation)
|