python stop class when function is finished code example
Example: stop function python
def some_fuction():
print("This is all I do!")
return
# A simple return will end a function
def some_fuction():
print("This is all I do!")
return
# A simple return will end a function