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
-2
View File
@@ -1,2 +0,0 @@
for i in "chenxuan":
print(i)
-3
View File
@@ -1,3 +0,0 @@
for i in range(1,13):
if i%2==0:
print(i,"是偶数")
-4
View File
@@ -1,4 +0,0 @@
s=0
for i in range(1,101):
s+=i
print(s)
-7
View File
@@ -1,7 +0,0 @@
s=0
for i in range(1,11):
s+=i
else:
print(s)
# 在 Python 中,
# for 循环可以跟一个 else 子句,它在循环正常结束时执行。
@@ -1,4 +0,0 @@
for i in range(1,4):
for j in range(1,5):
print('*',end='') # end=''是为了阻止换行
print() # 相当于print(end='\n')