MemotivaBuilt-in data types

What is None in Python?

Built-in data types

Audio flashcard · 0:14

Nortren·

What is None in Python?

0:14

None is a singleton object representing the absence of a value or a null value. It is the default return value of functions that do not explicitly return anything. There is exactly one None object, so it should always be compared with the is operator, never with double equals.
docs.python.org