Commit 828ba698 by BellCodeEditor

save project

parent d2c5bacd
Showing with 11 additions and 0 deletions
students=['a','b','c','d']
students.remove('c')
print(students)
l=['yi','cong']
students.extend(l)
print(students)
red=students[:2]
blue=students[-2:]
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