What is the best way to exit a function (which has no return value) in python before the function ends (e.g. a check fails)?
Become part of the top 3% of the developers by applying to Toptal https://topt.al/25cXVn
--
Music by Eric Matyas
https://www.soundimage.org
Track title: Hypnotic Puzzle2
--
Chapters
00:00 Question
00:52 Accepted answer (Score 395)
01:20 Answer 2 (Score 21)
01:34 Answer 3 (Score 17)
02:03 Answer 4 (Score 8)
03:11 Thank you
--
Full question
https://stackoverflow.com/questions/6190...
--
Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...
--
Tags
#python #function #return
#avk47
--
Music by Eric Matyas
https://www.soundimage.org
Track title: Hypnotic Puzzle2
--
Chapters
00:00 Question
00:52 Accepted answer (Score 395)
01:20 Answer 2 (Score 21)
01:34 Answer 3 (Score 17)
02:03 Answer 4 (Score 8)
03:11 Thank you
--
Full question
https://stackoverflow.com/questions/6190...
--
Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...
--
Tags
#python #function #return
#avk47