Commit 596196cb by BellCodeEditor

auto save

parent 26b3b1d4
Showing with 32 additions and 2 deletions
...@@ -10,4 +10,23 @@ bro2=["刘备",161,9.1] ...@@ -10,4 +10,23 @@ bro2=["刘备",161,9.1]
bro3=["张飞",166,8.3] bro3=["张飞",166,8.3]
bros[0]="关羽" bros[0]="关羽"
bros[1]="刘备" bros[1]="刘备"
print(bros) print(bros)
\ 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])
\ No newline at end of file
bro1="关羽"
bro2="刘备"
bro3="张飞"
bros=["刘备","关羽","张飞"]
bro1=["关羽",160,8.5]
bro2=["刘备",161,9.1]
bro3=["张飞",166,8.3]
bros[0]="关羽"
bros[1]="刘备"
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