def left():
    global direction
    direction = LEFT
    if (gender == 'MALE'):
        turtle.shape('man_left.gif')
    else:
        turtle.shape('woman_left.gif')
    move_player()
    print('you pressed the left key')
def left():
    global direction
    direction = LEFT
    if (gender == 'MALE'):
        turtle.shape('man_left.gif')
    else:
        turtle.shape('woman_left.gif')
    move_player()
    print('you pressed the left key')