def CifrarioCesare():
cambio = int(input())
testo = input().upper()
lista = 'ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZ'
for i in range(len(testo)):
if testo != ' ':
for k in range(len(lista)):
if testo[i] == lista[k]:
testo = testo[:i] + lista[k + cambio] + testo[i+1:]
break
print(testo)
print(cambio, '(' + str(26-cambio) + ')')
CifrarioCesare()
To embed this project on your website, copy the following code and paste it into your website's HTML: