Day 5: decoding
Today, I did the opposite of yesterday's encoding and decoded the cipher given the coded message and the shift value.
def decrypt(text, shift):
new_text = []
for letter in text:
index = alphabet.index(letter)
new_position = (index - shif...
allienicole.hashnode.dev1 min read