Computer Science, asked by Riyankapandey, 4 months ago

# drawing
import turtle
t= turtle. Pen()
color={"green","blue", "red", "black"}
for x in range (100) :
t.pencolor (color[x\4]) |
t.forward (x)
t.left (89)

syntax error kyu dikh raha hai?
pls tell in python​

Attachments:

Answers

Answered by purveshKolhe
1

Answer:

check the spelling of colour..

Similar questions