char = 'A'
ascii_value = ord(char)
print("The ASCII value of {} is {}".format(char, ascii_value))
python如何输出字符的ascll
最新推荐文章于 2024-08-20 13:04:52 发布
char = 'A'
ascii_value = ord(char)
print("The ASCII value of {} is {}".format(char, ascii_value))