def get_next_word_interactive(buff: list) -> str:
    """Gets the next word from user input

    Args:
        buff (list): a buffer of words that has already been read in

    Returns:
        str: the next word
    """
    if len(buff) == 0:
        line = input(">>> ")
        buff.append(line.split())
    
    return buff.pop(0)