Commit 51c0ee2f by BellCodeEditor

save project

parent fd62c920
Showing with 8 additions and 0 deletions
s = ["悟空", "小贝", "八戒", "波奇"]
s.pop(2)
print(s)
s.insert(1,"抬棺队")
print(s)
freddy=s[:2]
bunnie=s[2:]
\ 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