Commit 73037481 by BellCodeEditor

save project

parent 26b3b1d4
Showing with 17 additions and 2 deletions
...@@ -10,4 +10,20 @@ bro2=["刘备",161,9.1] ...@@ -10,4 +10,20 @@ bro2=["刘备",161,9.1]
bro3=["张飞",166,8.3] bro3=["张飞",166,8.3]
bros[0]="关羽" bros[0]="关羽"
bros[1]="刘备" bros[1]="刘备"
print(bros) print(bros3)
\ No newline at end of file
list=['苹果','香蕉','西瓜','香蕉','桃子','香蕉']
list.remove('西瓜')
list.pop(3)
print(list)
a=['华雄']
c=['颜良','文丑']
a.extend(c)
print(a)
a=['吕布']
b=['袁术','公孙瓒','关羽','张飞','刘备','曹操']
print(b[2:5])
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