from visual import *
def spinBox():
myBox = box(color = (1.0, 0.0, 0.0))
while True:
# Slow down the animation to 60 frames per second.
# Change the value to see the effect!
rate(60)
myBox.rotate(angle=pi/100)
Why does VIDLE gives me the error?
Traceback (most recent call last):
File "<pyshell#1>", line 1
spinBox()
NameError: name 'spinBox' is not defined