The Python Oracle

Why does return True have to be outside the if statement and the for loop?

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: Switch On Looping

--

Chapters
00:00 Question
00:39 Accepted answer (Score 4)
01:54 Answer 2 (Score 2)
02:23 Answer 3 (Score 2)
03:11 Answer 4 (Score 0)
03:30 Thank you

--

Full question
https://stackoverflow.com/questions/6815...

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#python

#avk47