def inputthis(question='-> ', expected_tuple=('Y', 'N'), error='ERRO! Resposta inesperada!'):
    """
    :param question: Input text
    :param expected_tuple: Tuple containing all the options from wich the user should choose from
    :param error: Error message for when the input isn't cointained in the tuple
    :return: The user's answer
    """
    while True:
        x = str(input(question)).strip()
        if x in expected_tuple:
            return x
        else:
            print(error, '\n')