These three functions all return None:
def f1():
print("hi")
# No return statement
def f2():
print("hi")
return # Empty return
def f3():
print("hi")
return None # Explicit None
All three do the same thing. Use whichever is clearest. Most people skip the return entirely for functions that don't need to return a value.