1、获取ascii码表格,如图,记住表格即可转换ASCII码。
3、了解ord(),chr()函数。
5、字符转换为asc坡纠课柩ii码,如图采用ord()函数。>>> print( c + " 的ASCII 码为", ord(c))