The Numbers l = [16, 9 , 3, 15, 3, 20, 6, '{', 20, 8, 5, 14, 21, 13, 2, 5, 18, 19, 13, 1, 19, 15, 14, '}'] for x in l: if type(x) == int: print(chr(x+64), end="") else: print(x, end="")