Skip to content
  • P
    Projects
  • G
    Groups
  • S
    Snippets
  • Help

Administrator / lesson5_7

  • This project
    • Loading...
  • Sign in
Go to a project
  • Project
  • Repository
  • Issues 0
  • Merge Requests 0
  • Pipelines
  • Wiki
  • Snippets
  • Members
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Branches
  • Tags
  • Contributors
  • Graph
  • Compare
  • Charts
Commit 5b025b3d authored 3 years ago by BellCodeEditor's avatar BellCodeEditor
Browse files
Options
  • Browse Files
  • Download
  • Email Patches
  • Plain Diff

save project

parent bfd00f4d
Show whitespace changes
Inline Side-by-side
Showing with 9 additions and 7 deletions
  • Untitled-1.py.py
  • diy2.py
Untitled-1.py.py
View file @ 5b025b3d
A=1 for i in range(1,10):
B=2 for j in range(1,i+1): # 行
print(A'X'B'='(A*B)) print(j,'x',i,'=',(i*j),end=' ')
\ No newline at end of file print()
\ No newline at end of file
This diff is collapsed. Click to expand it.
diy2.py
View file @ 5b025b3d
i = 1 for i in range(1,10):
for j in range(1,10): # 行 for j in range(1,i+1): # 行
print(j,'x',i,'=',(i*j),end='\n') # 列 print(j,'x',i,'=',(i*j),end=' ')
print() # 列
# 使用变量i和j,代替乘法算式里面的元素,打印出单个乘法算式 # 使用变量i和j,代替乘法算式里面的元素,打印出单个乘法算式
This diff is collapsed. Click to expand it.
  • Write
  • Preview
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