Created
July 15, 2020 03:01
-
-
Save KatUser/1e688443112a554f5bf18ca124c918a4 to your computer and use it in GitHub Desktop.
Ceazer code
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
n = int(input()) | |
s = input() | |
# [97 , 123] | |
for i in s: | |
if int(ord(i)-n) in range(97 , 123): | |
print(chr(int(ord(i)-n)), end = '') | |
else: | |
print(chr(int(ord(i) -n)+26), end = '') | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment