This commit is contained in:
2509165003
2026-04-21 11:28:06 +08:00
parent be435e4868
commit df690257aa

6
4.21.py Normal file
View File

@@ -0,0 +1,6 @@
text = "hello"
for char in text:
print(f"'{char}'的ASCII码是:{ord(char)}")
character_A = chr(65)
print(character_A)