📜  解码 - Python 代码示例

📅  最后修改于: 2022-03-11 14:47:07.896000             🧑  作者: Mango

代码示例1
num = input()
num = num[::-1]
Final_string = ''
number = ''
for i in range(len(num)):
    number = number + num[i]
    if (int(number) >= 65 and int(number) <= 90) or (int(number) >= 97 and int(number) <= 122) or (int(number) == 32):
        character = chr(int(number))
        Final_string+=character
        number = ''
print(Final_string)