how to terminate a python program code example
Example 1: how to exit program in python
import sys sys.exit() //This will exit the python program
Example 2: how to run python program
move to the directory where your program lies
open cmd
python first_script.py(your file name)