Commit 994094eb by BellCodeEditor

save project

parent 74577b2f
Showing with 24 additions and 6 deletions
i = 1
# 行
for j in range (1,10):
# 使用量i和j,代替乘法算式里面的元素,打印出单个乘法算式
print(j,"x",i,'=',j*i,end=" ")
\ No newline at end of file
"""
i=0
s=0
while True:
i+=1
s+=i
if i==3:
break
print(s)
"""
'''
for i in range(1,11,3):
print(i)
'''
'''
for i in range(2,101,2):
print(i)
'''
for i in range (5,10):
for i in range(5,i+1):
print("j,"X",i,"=",(j*i),end=" "")
print()
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment