The Python Oracle

Is there a difference between "if not x" and "if x is None"?

Become part or hire the top 3% of the developers by applying to Toptal https://topt.al/25cXVn

--

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

--

Chapters
00:00 Question
00:50 Accepted answer
01:28 Thank you

--

Tags
#python #ifstatement #nonetype

#avk47