from string import maketrans intab = "abcdefghijklmnopqrstuvwxyz" outtab = "cdefghijklmnopqrstuvwxyzab" trantab = maketrans(intab,outtab) string = "g fmnc wms bgblr rpylqjyrc gr zw fylb. rfyrq ufyr amknsrcpq ypc dmp. bmgle gr gl zw fylb gq glcddgagclr ylb rfyr'q ufw rfgq rcvr gq qm jmle. sqgle qrpgle.kyicrpylq() gq pcamkkclbcb. lmu ynnjw ml rfc spj" print string.translate(trantab)
'Wargame > pythonchallenge' 카테고리의 다른 글
pythonchallenge LEVEL 5 (0) | 2017.04.12 |
---|---|
pythonchallenge LEVEL 4 (0) | 2017.04.12 |
pythonchallenge LEVEL 3 (0) | 2017.04.12 |
pythonchallenge LEVEL 2 (0) | 2017.04.12 |
pythonchallenge LEVEL 0 (0) | 2017.04.12 |