import random

def print_return(func):

    def func_wrapper(param):
        rv = func(param)
print('Return value: {0}'.format(rv))
return rv
return func_wrapper

@print_return
def secret_number(secret_number_range):
    return random.randrange(1, secret_number_range + 1)
c = secret_number(4)
Returning and printing without assigning to variable?