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