Commit 08c28d78 by BellCodeEditor

save project

parent 9060da7f
Showing with 20 additions and 12 deletions
......@@ -10,4 +10,14 @@ bro2=["刘备",161,9.1]
bro3=["张飞",166,8.3]
bros[0]="关羽"
bros[1]="刘备"
print(bros)
\ No newline at end of file
print(bros)
list=['苹果','香蕉','西瓜','香蕉','桃子','香蕉']
list.remove('香蕉')
list.remove('香蕉')
list.remove('香蕉')
#list.pop(1)
#list.pop(3)
#list.pop(5)
#list.pop(1,3,5)
\ No newline at end of file
list=['苹果','香蕉','西瓜','香蕉'','桃子','香蕉']
list.remove('香蕉')
list.remove('香蕉')
list.remove('香蕉')
a=['华雄']
a.append('颜良','文丑')
print(a)
list.pop(1)
list.pop(3)
list.pop(5)
list.pop(1,3,5)
\ No newline at end of file
#a=['华雄']
#c=['颜良','文丑']
#a.extend(c)
#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