For my code an assignment is requesting "a return statement returns to the statement in the main() function that is after the call to the play game() function".
I tried entering the return statement after the rand variable and received the error return outside of function. I would like to understand the correct way to use the return statement to complete the assignment
def play_game():
return
global rand
rand=random.randint(1,10)
play_game()