Commit 269b2a94 by BellCodeEditor

save project

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