以下Python turtle绘图代码共有几处错误?
import turtle
colors=['blue','red','green','yellow']
t=turtle.Pen()
for i in range(100)
t.color(colors[i%5])
w+=2
t.forward(w)
t.left(89)
正在加载题目数据…
子题
该题型需在试卷/作业中作答,单题练习暂不支持
答案解析