Commit 5a7a3a05 by BellCodeEditor

save project

parent c2cf56ec
Showing with 6 additions and 8 deletions
bros1=["刘备","关羽","张飞"] b=["刘备","关羽","张飞"]
bros2=["刘备",161,9.1] b.pop(1)
bros3=["关羽",160,8.5] #b.pop(-2)
bros4=["张飞",166,8.3] #b.remove("关羽")
bros1[0]="关羽" print(b)
bros1[1]="刘备" \ No newline at end of file
print(bros1)
\ 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