exit coed -9 python code example
Example 1: stop procedure python
def some_fuction():
print("This is all I do!")
return
# A simple return will end a function
Example 2: how to exit program in python
import sys sys.exit() //This will exit the python program