You are viewing a single comment's thread. Return to all comments →
My python solution
s2 = '' for ch in s : if ch.isalpha(): t = ord(ch) if 96 <= t <= 122 : t += k while t > 122 : t -= 26 elif 65 <= t <= 90 : t += k while t > 90 : t -= 26 s2 += chr(t) else : s2 += ch return s2
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 →
My python solution