python stop the program code example Example: python sys halt import sys #put your code here sys.exit