Commit f3ba715d by BellCodeEditor

save project

parent 26b3b1d4
Showing with 7 additions and 8 deletions
...@@ -4,10 +4,10 @@ ...@@ -4,10 +4,10 @@
bro1="关羽" bro1="关羽"
bro2="刘备" bro2="刘备"
bro3="张飞" bro3="张飞"
bros=["刘备","关羽","张飞"] bros=["刘备","关羽","张飞","张角","张宝",]
bro1=["关羽",160,8.5] bros.insert(1,"华雄")
bro2=["刘备",161,9.1] bros.append("袁术")
bro3=["张飞",166,8.3] a=["颜良","文丑"]
bros[0]="关羽" bros.extend(a)
bros[1]="刘备" print(bros)
print(bros)
\ 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