title: Is there a method that tells my program to quit?
body: <p>For the "q" (quit) option in my program menu, I have the following code:</p>
  
  <pre><code>elif choice == "q":
      print()
  </code></pre>
  
  <p>That worked all right until I put it in an infinite loop, which kept printing blank lines. Is there a method that can quit the program? Else, can you think of another solution?</p>