<jupyter_start><jupyter_text>code for http://www.pythonchallenge.com/<jupyter_code>2**38
msg = b'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.'

decrypted = []

for c in msg:
    decrypted.append(c + 2)

print(bytes(decrypted))
a = str(bytes(decrypted), 'utf-8')
a.replace('{','a').replace('"'," ").replace('|','b').replace('0','.')
# more beautiful solution
origstr = '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.'

trans = str.maketrans('abcdefghijklmnopqrstuvwxyz','cdefghijklmnopqrstuvwxyzab') # a->b and e->x
print(origstr.translate(trans))
"map".translate(trans)<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.13740458015267176, 'fraction_numerical': 0.006543075245365322, 'mean_word_length': 5.12, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 1, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '1', 'dir': 'jupyter-structured-clean-dedup', 'id': '335302', 'license': 'Apache-2.0', 'n_tokens_mistral': 443, 'n_tokens_neox': 425, 'n_words': 102, 'path': 'snippets/pythonchallenge.ipynb', 'repo_name': 'younthu/kaggle', 'size': '917'}