分类: Python
thumbnail

Python打印ASCII可显示字符

for i in range(32, 126): print(chr(i), " ", ord(chr(i))) 输出: 32 ! 33 " 34 # 35 $ 36 % 37 & 38 ' 39 ( 40 ……