Commit f296c917 by BellCodeEditor

save project

parent 2177d3b8
Showing with 6 additions and 30 deletions
bro2="关羽" b=['袁术','夏侯惇','曹操','关羽']
bro3="张飞" b.remove('关羽')
bros=["刘备","关羽","张飞"] #b.pop(3)
bro2=["关羽",160,8.5] #b.pop(-1)
bro3=["张飞",166,8.3] print(b)
bro1=["刘备",161,9.1] \ No newline at end of file
bros[0] = "关羽"
bros[1] = "刘备"
print(bros)
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