I\'m not exactly sure why but when I execute this section of code nothing happens.
while (True) : choice = str(input(\"Do you want to draw a spirograph? (Y
This expression doesn't do what you want:
choice == 'n' or 'N'
It is interpretted as this:
(choice == 'n') or 'N'
You might want to try this instead:
choice in 'nN'