Commit 6ee149dc by BellCodeEditor

save project

parent a9162e38
Showing with 6 additions and 10 deletions
bro=["刘备","关羽","张飞"]
for i in range(1,10): bro[0]="关羽"
for j in range(1,i+1): bro[1]="刘备"
if j==2 and (i==3 or i==4): for i in range(len(bro)):
print(str(j)+"*"+str(i)+"="+str(j*i),end=" ") print(bro[i],end=(" "))
else: \ No newline at end of file
print(str(j)+"*"+str(i)+"="+str(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