Commit 67b7446d by BellCodeEditor

auto save

parent 723789be
Showing with 2 additions and 2 deletions
a=['吕布'] a=['吕布']
b=['袁术','公孙瓒','关羽','张飞','刘备','曹操'] b=['袁术','公孙瓒','关羽','张飞','刘备','曹操']
print(b[4:]) #在B列表中用切片取出刘关张三人合并到A列表
print(b[-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