None is a special constant in Python that represents the absence of a value.
Its data type is NoneType, and None is the only instance of a NoneType object.
None Type :
Variables can be assigned None to indicate "no value" or "not set".
Example:
Python
x = None print(x) #output None
Using Functions :
Python
def greet(): print("Hello") result = greet() print(result) #output Hello None
None vs Empty Values :
Python
x = None y = "" z = 0 w = [] print(bool(x), bool(y), bool(z), bool(w)) #output False False False False