Question:
Training: ASCII (Training, Encoding)
Encodings - American Standard Code for Information Interchange
In a computer, you can only work with numbers.
In this challenge you have to decode the following message, which is in ASCII.
In this challenge you have to decode the following message, which is in ASCII.
Useful link: http://asciitable.com
solution:
Just convert ascii to Char.
#!/usr/bin/env python
f = file('crypto.txt','r+')
s = f.read().split(',')
cryptos = ""
for i in s:
cryptos += chr(int(i))
print cryptos
</pre><div><pre name="code" class="python" style="color: rgb(41, 70, 102); font-size: 14px;">The solution is: hpdpsablplaf
Submit the string hpdpsablplaf
Success!
本文介绍如何通过ASCII编码解码挑战,并提供了解码后的字符串。通过将ASCII码转换为字符来解决编码问题。
31万+

被折叠的 条评论
为什么被折叠?



