no message

This commit is contained in:
陈银军
2025-10-15 17:45:08 +08:00
parent 1648828db6
commit 695b38ae82
4 changed files with 8 additions and 7 deletions
+4 -5
View File
@@ -1,7 +1,6 @@
s=0
i=1
i=0
while i<=100:
s+=i
i+=1
else:
print(s)
s=i+s
i=i+1
print(s)
+2
View File
@@ -4,3 +4,5 @@ while i<=100: #条件
s+=i #语句块
i+=1
print(s)
print("-----")
print(i)
+1 -1
View File
@@ -1,5 +1,5 @@
s=0
i=1 #初始值
i=0 #初始值
while i<=100: #条件
s+=i #语句块
i+=1
View File