What is the Difference Between quit() and exit() commands in Python? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

What is the Difference Between quit() and exit() commands in Python?

16th Sep 2016, 8:05 PM
Jay Halani
1 Answer
+ 1
Well quit() exits you from the program completly while exit() does the same thing. Quit is usually used outside a loop. Exit is used inside of it.
21st Sep 2016, 6:01 AM
isk
isk - avatar