Commit 470a7050 by BellCodeEditor

auto save

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