You should use None
, as that is what your function actually returns:
"""Prints the element given as input
Args:
x: any element
Returns:
None
"""
All functions in Python return something. If you do not explicitly return a value, then they will return None
by default:
>>> def func():
... return
...
>>> print func()
None
>>>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With