qpython
qpython copied to clipboard
Turtle spiral drawing
Hi there.I try to run turtle spiral codes in qpython 3 but it can't run.I don't understand way.please help
#NiceHexSpiral.py
import turtle
colours=[‘red’,‘purple’,‘blue’,‘green’,‘yellow’,‘orange’]
t=turtle.pen ()
turtle.bgcolor (‘black’)
for x in range (360):
t.pencolor (colors[x%6])
t.forward(x)
t.left (59)

Qpython doesnot support turtle