def askHowManyLoops(game):
    """
    Asks for an integer of how many times would you like to play {game} and then returns it.
    """
    while True:
        try:
            loop_times = int(input(f"\nHow many times would you like to play {game}? "))
            return loop_times
        except ValueError:
            print("Incorrect response, try again."); continue