Last active
June 10, 2016 21:26
-
-
Save channprj/d3ab1c672daae1a4a0478acff86b7a62 to your computer and use it in GitHub Desktop.
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
# coupang cash code | |
# https://coupang.saramin.co.kr/_service/coupang/apply_site/apply/recruit_default.asp | |
# shift operation (x >> 1) and convert to ascii character | |
cipher_text = ['212', '242', '214', '194', '220', '206', '128', '198', '222', '234', '224', '194', '220', '206', '92', '198', '222', '218'] | |
def shift_operation(x): | |
x = int(x) | |
return x >> 1 | |
for i in range(len(cipher_text)): | |
print(chr(shift_operation(cipher_text[i])), end='') | |
print() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment