no message

This commit is contained in:
陈银军
2026-06-11 00:44:59 +08:00
parent 550ab369ed
commit ae948d4a47
6 changed files with 2 additions and 0 deletions
+7
View File
@@ -0,0 +1,7 @@
s=0
for i in range(1,11):
s+=i
else:
print(s)
# 在 Python 中,
# for 循环可以跟一个 else 子句,它在循环正常结束时执行。