码迷,mamicode.com
首页 > 其他好文 > 详细

WeChall_Training: ASCII (Training, Encoding)

时间:2016-09-04 17:33:35      阅读:299      评论:0      收藏:0      [点我收藏+]

标签:

In a computer, you can only work with numbers.
In this challenge you have to decode the following message, which is in ASCII.

84, 104, 101, 32, 115, 111, 108, 117, 116, 105, 111, 110, 32, 105, 115, 58, 32, 98, 111, 108, 102, 111, 110, 111, 105, 97, 101, 102, 98

Useful link: http://asciitable.com

 

解题:

简单ascii码转换。

 

a = 84, 104, 101, 32, 115, 111, 108, 117, 116, 105, 111, 110, 32, 105, 115, 58, 32, 98, 111, 108, 102, 111, 110, 111, 105, 97, 101, 102, 98
a = a.split(, )
for each in a:
    print(chr(int(each)),end = ‘‘)

 

WeChall_Training: ASCII (Training, Encoding)

标签:

原文地址:http://www.cnblogs.com/zhurb/p/5839556.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!