I am having a question regarding return statement for a function. Does python standards say to have a return statement for a function if it does not return anything. Nothing is stopping to write or don't write return but need to know what make a good code
Below is the example code
def test():
print("Hello")
return
or
def test():
print("Hello")
Which approach is more conventional in Python?