Hi all, im writing a caesar cipher and ive done most of the program (see below)
Code:
def decrypt(ciphertext, shift):
decrytped_text = " "
for letter in ciphertext:
if letter.isalpha():
num = ord(letter)
num += key
if letter.isupper():
if num > ord('Z'):
num -= 26