Commit af1b8d1a by BellCodeEditor

auto save

parent 10af1cba
Showing with 8 additions and 0 deletions
#使用for循环嵌套打印乘法表
#外层for循环控制行数
for i in range(1,10):
#内层for循环控制列数
for j in range(1,i+1):
print(i,"x",j,"=",(i*j),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