s = "Hello" for c in s: print(f"'{c}' 的ASCII码是: {ord(c)}") print(f"ASCII码65对应的字符是: {chr(65)}")