Checking for Nothing

Python has a way to depict the absence of a value. Let's learn about python keyword 'None'

We'll cover the following...

Because we are talking about statements that evaluate to True, we probably need to cover what evaluates to False. Python has the keyword False which I’ve mentioned a few times. However an empty string, tuple or list also evaluates to False. There is also another keyword that basically evaluates to False which is called None. The None value is used to represent the absence of value. It’s kind of ...

Access this course and 1400+ top-rated courses and projects.