def ask_player_for_location(player):
    """Ask the player where they would like to use their turn"""
    move = None
    while not move:
        try:
            move = int(input(f"{player} where would you like to go? "))
            if move not in range(1, 10):
                move = None
                raise ValueError
        except ValueError:
            print("Please enter a number from 1-9")
    return move