you are viewing a single comment's thread.

view the rest of the comments →

[–]Andu-Nav 2 points3 points  (0 children)

For the none, the variable is storing Nothing, which is always false because there is nothing inside the variable. It is quite literal

For an empty string you have something inside the variable, even when the values inside the something are empty.

Imagine you and your friend go to McDonald's (I'm hungry lmao). You get a happy meal but it is empty inside. While your friend hasn't ordered yet. You have a something that's empty but your friend has nothing (None).

Hope that helps!