Commit b34ceeeb by BellCodeEditor

save project

parent 88f68f36
Showing with 10 additions and 0 deletions
s = ["悟空", "小贝", "八戒", "波奇"]
s.pop(2)
print(s)
s.insert(0,"鬼魂")
print(s)
a=s.[2:]
b=s.[:2]
print(a)
print(b)
\ 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