human
Is there a method that tells my program to quit?
assistant
Here is some code to quit program

sys.exit(0)

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.