Skip to content

Latest commit

 

History

History
21 lines (17 loc) · 365 Bytes

3.md

File metadata and controls

21 lines (17 loc) · 365 Bytes
@author jackzhenguo
@desc 整数和ASCII互转
@date 2019/2/10

3 整数和ASCII互转

十进制整数对应的ASCII字符

In [1]: chr(65)
Out[1]: 'A'

查看某个ASCII字符对应的十进制数

In [1]: ord('A')
Out[1]: 65
[上一个例子](2.md) [下一个例子](4.md)