text = "Hello" print("每个字符的ASCII码:") for char in text: print(f"'{char}' 的 ASCII 码:{ord(char)}") print("\nchr(65) 的结果:", chr(65))