Commit 828ba698 by BellCodeEditor

save project

parent d2c5bacd
Showing with 12 additions and 2 deletions
students=['a','b','c','d'] students=['a','b','c','d']
students.remove('c') students.remove('c')
print(students) print(students)
\ No newline at end of file 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