Last active
October 19, 2018 08:23
-
-
Save Inazuma110/13f71e3a3d736635469d49e0cfde55e3 to your computer and use it in GitHub Desktop.
シーザー暗号 シフト数3
This file contains 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
cipher = 'fsdz{Fdhvdu_flskhu_lv_fodvvlfdo_flskhu}' | |
flag = '' | |
for asc in cipher: | |
asc = ord(asc) | |
if 64 < asc < 91 or 96 < asc < 123: | |
flag += chr(asc-3) | |
else: | |
flag += chr(asc) | |
print(flag) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment