Commit 09a8a2e9 by BellCodeEditor

auto save

parent 40b96662
Showing with 0 additions and 10 deletions
tang_poet = ["李白", "杜甫", "白居易", "王维", "苏轼", "孟浩然"] tang_poet = ["李白", "杜甫", "白居易", "王维", "苏轼", "孟浩然"]
print(tang_poet)
tang_poet.pop(0)
print(tang_poet)
tang_poet.pop(-2)
print(tang_poet)
tang_poet.remove('白居易')
print(tang_poet)
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