0
Confusion
Hey is 'exit()' has the same function as 'return'?
2 Respuestas
+ 1
exit() is not the same as return. exit will exit the python code, while return will return the value/object from a function.
+ 5
Ervan ,
here is a tutorial that demonstrates the use some exit variations:
https://www.pythonpool.com/JUMP_LINK__&&__python__&&__JUMP_LINK-exit/