Commit f4ca40ba by BellCodeEditor

save project

parent c96ec7cf
Showing with 4 additions and 2 deletions
a=['吕布'] a=['吕布']
b=['关羽''张飞','刘备'] b=['关羽','张飞','刘备']
b.extend(a) b.extend(a)
print(b) print(b)
a.extend(b[2:5]) a.extend(b[0:3])
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