Asked by Havon

Complete the code to draw a line 30 steps to the right. Leave a gap of 20 steps. Then draw another line continues 15 more steps to the right.
from turtle import *from turtle import *
forward(30)


forward(20)


forward(15)

All Answers 1

Answered by GPT-5 mini AI
from turtle import *

forward(30) # draw 30 steps
penup() # lift pen to leave a gap
forward(20) # move 20 steps without drawing
pendown() # put pen down to resume drawing
forward(15) # draw the remaining 15 steps

done()