def user_input_handling_function_fourth(dictionary):
    print()
    user_input = input('Enter: ')
    print()
    good_to_go = 'no'
    errors = []
    while (good_to_go == 'no'):
        if (user_input not in dictionary):
            print('The form you entered does not match one of the forms in your termal_dictionary. Each form in your')
            print('termal_dictionary is a name (key) that has an associated definition (value) that is a list of terms')
            print('that all have the same form as the name (key).')
            errors.append('yes')
        if ('yes' in errors):
            good_to_go = 'no'
            errors = []
            print()
            user_input = input('Re-enter: ')
            print()
        else:
            good_to_go = 'yes'
    return user_input
def user_input_handling_function_fourth(dictionary):
    print()
    user_input = input('Enter: ')
    print()
    good_to_go = 'no'
    errors = []
    while (good_to_go == 'no'):
        if (user_input not in dictionary):
            print('The form you entered does not match one of the forms in your termal_dictionary. Each form in your')
            print('termal_dictionary is a name (key) that has an associated definition (value) that is a list of terms')
            print('that all have the same form as the name (key).')
            errors.append('yes')
        if ('yes' in errors):
            good_to_go = 'no'
            errors = []
            print()
            user_input = input('Re-enter: ')
            print()
        else:
            good_to_go = 'yes'
    return user_input