Commit 1976d6bb by BellCodeEditor

save project

parent 4adda87e
Showing with 11 additions and 6 deletions
for i in ange(1,10) bord1="关羽"
for j in ange(1,i+1) bord2="刘备"
# 使用变量i和j,代替乘法算式里面的元素,打印出单个乘法算式 bord3="张飞"
print(j,"x",i,"=",(j*i),end" ") bors = ["刘备","关羽","张飞"]
print bord1=["关羽",160,8,5]
\ No newline at end of file bord2=["刘备",161,9,1]
bord3=["张飞",166,8,3]
bors[0]="关羽"
bors[1]="刘备"
print(bors)
\ 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