Commit 2323968b by BellCodeEditor

save project

parent c33d58e8
Showing with 6 additions and 2 deletions
...@@ -10,4 +10,8 @@ bro2=["刘备",161,9.1] ...@@ -10,4 +10,8 @@ bro2=["刘备",161,9.1]
bro3=["张飞",166,8.3] bro3=["张飞",166,8.3]
bros[0]="关羽" bros[0]="关羽"
bros[1]="刘备" bros[1]="刘备"
print(bros) #print(bros)
\ No newline at end of file #list_bro=[bro2,bro1,bro3]
#print(list_bro[2][1])
list_bro[0],list_bro[1]=list_bro[1],list_bro[0]
print(list_bro)
\ 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