Commit bd792473 by BellCodeEditor

save project

parent 1f1cff10
Showing with 5 additions and 4 deletions
a=["吕布"] a=["吕布"]
b=["袁术","公孙瓒","关羽","张飞","刘备"] b=["袁术","公孙瓒","关羽","张飞","刘备"]
a.extend(b[2:5]) #a.extend(b[2:5])
print(a) #print(a)
a.extend(b[-3:-1]) #a.extend(b[-3:])
print(a) #print(a)
a.extend(b[])
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