Is there a method that tells my program to quit?
One way is to do: sys.exit(0) You will have to import sys of course. Another way is to break out of your infinite loop. For example, you could do this: while True: choice = get_input() if choice == “a”: # do something elif choice == “q”: break Yet another way is to put your main … Read more