I was looking at some python code at work where somebody has used a return statement even though it was not necessary. It kind of looked like this:
def printSomething():
print(“......”)
.
.
return
This was done for many such functions. I know this does not make any difference to the output of the function. But, is it a good practice to do so? Or just some programmer idiosyncrasy?