zoukankan      html  css  js  c++  java
  • WeChall_Training: ASCII (Training, Encoding)

    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 = '')
  • 相关阅读:
    学习第23天
    学习第22天
    学习第21天
    Servlet交互与JSP
    Cookie与Session
    servlet入门
    网络编程
    DOM4j
    xml文档对象模型doc
    反射
  • 原文地址:https://www.cnblogs.com/zhurb/p/5839556.html
Copyright © 2011-2022 走看看