Commit 051d8809 by BellCodeEditor

save project

parent a371e9af
Showing with 6 additions and 5 deletions
b=['袁术','夏侯惇','曹操','关羽']
a=['颜良','文丑']
b.extend(a)
print(b)
\ No newline at end of file
a=['吕布']
b=['袁术','夏侯惇','曹操','关羽','刘备','张飞']
c = b[3:6]
a.extend(c)
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