Commit b0fa2e7a by BellCodeEditor

save project

parent 9c337512
Showing with 10 additions and 5 deletions
...@@ -3,10 +3,15 @@ ...@@ -3,10 +3,15 @@
bro1="关羽" bro1="关羽"
bro2="刘备" bro2="刘备"
bro3="张飞" bro3="张飞"
bros=["刘备","关羽","张飞"] a=["刘备","关羽","张飞"]
bro1=["关羽",160,8.5] bro1=["关羽",160,8.5]
bro2=["刘备",161,9.1] bro2=["刘备",161,9.1]
bro3=["张飞",166,8.3] bro3=["张飞",166,8.3]
bros[0]="关羽" b=["华雄"]
bros[1]="刘备" a[0]="关羽"
bros.remove("关羽") a[1]="刘备"
\ No newline at end of file a.remove("关羽")
b.insert(1,"关羽")
b.append("离开")
a.extend(b)
print(a)
\ 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