For the \"q\" (quit) option in my program menu, I have the following code:
elif choice == \"q\": print()
That worked all right until I
In Python 3 there is an exit() function:
exit()
elif choice == "q": exit()