exit hython when done code example
Example 1: how to exit program in python
import sys sys.exit() //This will exit the python program
Example 2: python how to exit function
return None
import sys sys.exit() //This will exit the python program
return None