def user_input_handling_function_tenth(dictionary):
    ' a dictionary checker '
    user_input = user_input_handling_function_ninth()
    good_to_go = 'no'
    errors = []
    while (good_to_go == 'no'):
        string = ''
        lict = []
        for element in user_input:
            string = (string + element)
        for key in dictionary:
            for element in dictionary[key]:
                lict.append(element)
        for element in string:
            if (element not in lict):
                print('One of your unwanted characters or combination of characters does not match the characters you')
                print('entered earlier.')
                errors.append('yes')
                break
        if ('yes' in errors):
            print()
            user_input = input('Re-enter: ')
            print()
            good_to_go = 'no'
            errors = []
        else:
            good_to_go = 'yes'
    return user_input
a dictionary checker
def user_input_handling_function_tenth(dictionary):
    '  '
    user_input = user_input_handling_function_ninth()
    good_to_go = 'no'
    errors = []
    while (good_to_go == 'no'):
        string = 
        lict = []
        for element in user_input:
            string = (string + element)
        for key in dictionary:
            for element in dictionary[key]:
                lict.append(element)
        for element in string:
            if (element not in lict):
                print('One of your unwanted characters or combination of characters does not match the characters you')
                print('entered earlier.')
                errors.append('yes')
                break
        if ('yes' in errors):
            print()
            user_input = input('Re-enter: ')
            print()
            good_to_go = 'no'
            errors = []
        else:
            good_to_go = 'yes'
    return user_input