<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def play_human(env):
 """ Play the environment using keyboard as a human. Args: env (gym.Env):
 the initialized gym environment to play Returns: None """

    # play the game and catch a potential keyboard interrupt
    try:
        play(env, fps=env.metadata['video.frames_per_second'])
    except KeyboardInterrupt:
        pass
    # reset and close the environment
    env.close()