if x:, vs if x == True, vs if x is True
This video explains
if x:, vs if x == True, vs if x is True
--
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: Forest of Spells Looping
--
Chapters
00:00 Question
01:31 Accepted answer (Score 42)
04:03 Answer 2 (Score 4)
04:25 Answer 3 (Score 3)
04:51 Answer 4 (Score 1)
05:58 Thank you
--
Full question
https://stackoverflow.com/questions/2042...
Answer 2 links:
[Other truth values.]: http://docs.python.org/2/library/stdtype...
--
Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...
--
Tags
#python #ifstatement #boolean
#avk47
if x:, vs if x == True, vs if x is True
--
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: Forest of Spells Looping
--
Chapters
00:00 Question
01:31 Accepted answer (Score 42)
04:03 Answer 2 (Score 4)
04:25 Answer 3 (Score 3)
04:51 Answer 4 (Score 1)
05:58 Thank you
--
Full question
https://stackoverflow.com/questions/2042...
Answer 2 links:
[Other truth values.]: http://docs.python.org/2/library/stdtype...
--
Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...
--
Tags
#python #ifstatement #boolean
#avk47