QUESTION IMAGE
Question
codehs oops. it looks like you have a few errors. functionality you should use a for loop to repeat commands. you should move using the forward, backward, or setposition command. you should turn to draw lines. continue anyway close
To fix the error, ensure movement commands (forward/backward/setposition) are used. For a star - drawing example in Python's turtle (common in CodeHS):
Step1: Import turtle
import turtle
t = turtle.Turtle()
Step2: Use for loop and move/turn
For a 5 - pointed star, each turn is 144 degrees, and move forward.
for _ in range(5):
t.forward(100) # Use forward (move command)
t.right(144) # Turn to draw lines
Step3: Keep window open
turtle.done()Snap & solve any problem in the app
Get step-by-step solutions on Sovi AI
Photo-based solutions with guided steps
Explore more problems and detailed explanations
Ensure code uses forward(), backward(), or setposition() with a for loop and turn commands (e.g., the above turtle code structure).