上传文件至 /

This commit is contained in:
2026-04-21 11:29:45 +08:00
parent bf9d70d494
commit a2251eb9a8
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))