解答例_3_4 2024.05.25 s = input('-->') for i in range(len(s)): print(i, s[i], hex(ord(s[i]))) –> python攻略0 p 0x701 y 0x792 t 0x743 h 0x684 o 0x6f5 n 0x6e6 攻 0x653b7 略 0x7565