📜  字符串到ascii值python代码示例

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

代码示例2
c='p'
x=ord(c)
#it will give you the ASCII value stored in x
chr(x)
#it will return back the character