The Python Oracle

Flake8 error: E712 comparison to True should be 'if cond is True:' or 'if cond:'

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: Sunrise at the Stream

--

Chapters
00:00 Question
00:32 Accepted answer (Score 5)
01:55 Answer 2 (Score 2)
02:13 Thank you

--

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

--

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

--

Tags
#python #ifstatement #flake8

#avk47