python数字与字符转换

chr(100)

把数字转成字符

ord('a')

把字符转成数字

猜你喜欢

转载自www.cnblogs.com/LoganChen/p/12214819.html