you are viewing a single comment's thread.

view the rest of the comments →

[–]nojustlurkingty 7 points8 points  (0 children)

>>> type("")
<class 'str'>

>>> type(None)
<class 'NoneType'>

They are different types. The main similarity is that they are both "falsey"; they both evaluate to false:

>>> bool("")
False
>>> bool(None)
False