import sys sys.exit()
import sys msg = "bye bye" sys.exit(msg) # you can use it with out a msg
return None
sys.exit()
import sys sys.exit() //This will exit the python program