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