I switched from trying to do a animatiomn to just drawing a character, but each time i run my code to make sure it works it quits right after the last instruction, so im submitting for now and will be asking the discord/professor for help on that

This commit is contained in:
mollychi
2025-10-05 12:05:39 -04:00
parent 82ab09db6b
commit 7985faa72d

View File

@@ -4,16 +4,40 @@
# #
# (Briefly describe what this program does.) # (Briefly describe what this program does.)
import turtle
from turtle import * from turtle import *
number_of_steps = 500 def leg(number):
dot_size = 100 right(90)
width = 1000 forward(40)
height = 800 left(90)
forward(20)
left(90)
forward(40)
penup()
left(90)
forward(40)
right(90)
pendown()
legss = [1]
for legs in legss:
leg(legss)
right(90)
forward(20)
for legs in legss:
leg(legss)
forward(40)
right(135)
forward(20)
left(90)
forward(10)
left(90)
forward(20)
left(45)
forward(25)
right(90)
forward(5)
right(90)
turtle.done()