If I have this dictionary how can I do to get the key instead value but reading words. Example if I write 2 22 1 response must be A B .
value= {"A": 2, "B": 22, "C": 222, "D": 3, "E": 33,"F":333, "G": 4, "H": 44, "I": 444, "J": 5, "K": 55, "L": 555, "M": 6, "N": 66, "O": 666, "P": 7, "Q": 77, "R": 777, "S": 7777, "T": 8, "U": 88, "V": 888, "W": 9, "X": 99, "Y": 999, "Z": 9999}
I was trying with this loop but there´s something wrong:
for i in r:
key= n[i]
print key