Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
72332 胡海峰老师 ASCII码 Python3 Accepted 31 MS 3824 KB 230 2024-05-04 20:12:00

Tests(1/1):


Code:

n = int(input()) nums = input().split() a =[] while nums: #nums不为空为True a = a + nums #列表拼接 [1,2]+[3,4]--->[1,2,3,4] nums = input().split() a = [ chr(int(x)) for x in a] b = ''.join( a ) print(b)