Commit 8c6779ed by BellCodeEditor

save project

parent 205c509d
Showing with 7 additions and 1 deletions
name = ['刘备','关羽','张飞']
name[:2] = ['关羽','刘备']
print(name)
\ No newline at end of file
for i in range(1,10): for i in range(1,10):
for j in range(1,i+1): for j in range(1,i+1):
print(j,"*",i,"=",(j*i),end=" ") print("*",end=" ")
print() 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