title: how to exit a python script in an if statement
body: <p>I'm using Python 3.2 and trying to exit it after the user inputs that they don't want to continue, is there code that will exit it in an if statement inside a while loop? I've already tried using <code>exit()</code>, <code>sys.exit()</code>, <code>sys.quit()</code>, <code>quit()</code>, and raise <code>SystemExit</code>.</p>