Commit 269b2a94 by BellCodeEditor

save project

parent 65519bea
Showing with 7 additions and 5 deletions
a=['吕布'] students=["a","b","c","d",]
b=['袁术','公孙瓒','关羽','张飞','刘备','曹操'] students.pop(-2)
a.extend(b[2:5]) students.append("e")
print(a)) red=students[0:2]
\ No newline at end of file blue=students[2:4]
print(red)
print(blue)
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