Commit 1ef040b6 by BellCodeEditor

save project

parent 04012a0c
Showing with 5 additions and 1 deletions
......@@ -5,4 +5,7 @@ a=['吕布']
b=['袁术','公孙瓒','关羽','张飞','刘备','曹操']
a.extend(b[2:5])
print(a)
a.extend(b[2:])
print(a)
a.extend(b[: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