Cómo detener el programa en Python
import sys
sys.exit()
Expensive Eagle
import sys
sys.exit()
#to stop all execution of code
exit()
quit()