Commit 9060da7f by BellCodeEditor

save project

parent 30a1583d
Showing with 11 additions and 10 deletions
bro1="关羽" list=['苹果','香蕉','西瓜','香蕉'','桃子','香蕉']
bro2="刘备" list.remove('香蕉')
bro3="张飞" list.remove('香蕉')
bros=["刘备","关羽","张飞"] list.remove('香蕉')
bro1=["关羽",160,8.5]
bro2=["刘备",161,9.1] list.pop(1)
bro3=["张飞",166,8.3] list.pop(3)
bros[0]="关羽" list.pop(5)
bros[1]="刘备"
print(bros) list.pop(1,3,5)
\ 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