def Check():
    while False:
        for char in UserInput:
            if char not in Valid:
                print ('That is an invalid hex value.')
        print('That is a valid hex value.')
        return Check
print "no"
