Aniya

mail@pastecode.io avatar
unknown
python
2 years ago
324 B
1
Indexable
Never
titles = [
    "thjqu",
    "dvjqhjbp",
    "ioljjou",
    "dcvlvowl",
    "brvho",
    "dcwufsgrno",
    "ppottdocd",
    "bzpnsjhql",
    "nwwca",
    "pjnqmpom"
]

key = "aniya"

for title in titles:
    print("".join(chr((ord(title[i]) - ord(key[i % 5]) - 1) % 26 + ord('a')) for i in range(len(title))))