#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)
The above code is not run in my"qpython "app .it's show indentation error.I am completely begginer and don't know anything about programming.I am start learn python through Bryson payne book call"tech your kids to code "
Help me
0 Answer(s)