Буду очень благордарен за помощь.
""" Шифр Цезаря""" import string numbers = range(0, 26) letters =list(string.ascii_lowercase) code = dict(zip(letters, numbers)) word =WTAAD #input('Enter your word: ') my_key=15 word_code=[] word_uncode=[] def codee(key): for chr in word: word_code.append((letters[(code[chr] + key) % 26].upper()) ) print(word_code) def uncode(my_key): for chr in word.lower(): word_uncode.append(letters[(code[chr] - my_key + 26) % 26]) print("".join(word_uncode)) for i in range(0,26): uncode(i) input()