SyntaxFix
Write A Post
Hire A Developer
Questions
You can't return because you're not in a function. You can exit though.
exit
import sys sys.exit(0)
0 (the default) means success, non-zero means failure.