how to you stop code from running in python code example Example: python sys halt import sys #put your code here sys.exit