#1 s = "Hello" for char in s: print(f"{char} 的ASCII码是{ord(char)}") #2 print(chr(65))