Commit e6ed1ed3 by BellCodeEditor

auto save

parent 26b3b1d4
Showing with 5 additions and 5 deletions
...@@ -5,9 +5,8 @@ bro1="关羽" ...@@ -5,9 +5,8 @@ bro1="关羽"
bro2="刘备" bro2="刘备"
bro3="张飞" bro3="张飞"
bros=["刘备","关羽","张飞"] bros=["刘备","关羽","张飞"]
bro1=["关羽",160,8.5] bros.insert(2,"马超")
bro2=["刘备",161,9.1] bros.append("诸葛亮")
bro3=["张飞",166,8.3] so=["赵云","周瑜","项羽"]
bros[0]="关羽" bros.extend(so)
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