pycharm代码问题
import turtleq = turtle.pen()
turtle.bgcoloor("black")
sides = 7
colors =
["red","orange","yellow","gren","cyan","blue","purple"]
for x in range(360):
q.pencolor(colors[x%sides])
q.forward(x*3/sides+x)
q.left(360/sides+1)
q.width(x*sides/200)
在pycharm中输入这段代码后,第五行colors后的等号下有红色浪线报错。
请问这是什么问题?、需要怎么改动呢?