Answers for "if you use quit() in a function, does it stop the function or the whole program?"

8

exit in python

import sys
msg = "bye bye"
sys.exit(msg)
# you can use it with out a msg
Posted by: Guest on May-09-2020

Code answers related to "if you use quit() in a function, does it stop the function or the whole program?"

Python Answers by Framework

Browse Popular Code Answers by Language