Commit ac0141e5 by BellCodeEditor

save project

parent 7b16ae5e
Showing with 6 additions and 4 deletions
for j in range(1,10): a=["刘备","张飞","关羽"]
for a in range(1,j+1): a[1]="关羽"
print(a,"*",j,"=",(a*j),end=" ") a[2]="张飞"
print() for i in range(len(a)):
print(a[i])
\ 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