The difference between a void function and a value-returning function is the existence of a statement in a value-returning function. This statement sends some value back to the point in the program where the function was called.
def hello(): return 'Greetings from R'lyeh'
The function returns the string to the function from where it was called.
Recommended textbook solutions
More related questions