def get_user_input(prompt: str) -> str:
    """ Get user answer given prompt

    Args:
        prompt (str): String with to confirm action by user

    Returns:
        str: "y" or "n" strings 
    """
    response = input(prompt)
    assert response in ['y', 'n'], 'Invalid input entered by user'
    return response