Files
2026-04-21 11:24:07 +08:00

6 lines
94 B
Python

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