Commit 6ee149dc by BellCodeEditor

save project

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