You are viewing a single comment's thread. Return to all comments →
import string def caesarCipher(s, k): abc = string.ascii_lowercase * 5 + string.ascii_uppercase * 5 return ''.join([abc[abc.find(x) + k] if x in abc else x for x in s])
Seems like cookies are disabled on this browser, please enable them to open this website
Caesar Cipher
You are viewing a single comment's thread. Return to all comments →