Commit 2c75bac4 by BellCodeEditor

save project

parent 070c0f2b
Showing with 9 additions and 0 deletions
xs=['悟空','小贝','八戒','波奇']
xs.pop(2)
print(xs)
xs.append('诺伊')
print(xs)
red=xs[0:2]
blue=xs[2:]
print(red,blue)
\ 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