

Note that a return statement without a value is equivalent toreturn None.None is a special type in Python that represents nothingness. For example, it is used to indicate that a variable has no value if it has a value ofNone.
Every function implicitly contains a return None statement at the end unless you have written your ownreturn statement. You can see this by runningprint someFunction() where the function someFunction does not use thereturn statement such as:
def someFunction(): passThepass statement is used in Python to indicate an empty block of statements.