上传文件至 /

This commit is contained in:
2026-04-21 11:27:27 +08:00
parent f99d9e76e4
commit c929b11229
3 changed files with 39 additions and 0 deletions

6
Untitled-1.py Normal file
View File

@@ -0,0 +1,6 @@
text = "Hello"
print("每个字符的ASCII码")
for char in text:
print(f"'{char}' 的 ASCII 码:{ord(char)}")
print("\nchr(65) 的结果:", chr(65))