Commit adcaeca3 by BellCodeEditor

save project

parent ed01a73f
Showing with 11 additions and 4 deletions
studens = ["a","b","c","d"]
studens.remove('c')
print(studens)
\ No newline at end of file
students = ["a","b","c","d"]
students.remove('c')
print(students)
l=["wang","hjdcbhse"]
students.extend(l)
print(students)
red=students[:2]
blue=students[-2:]
print(red)
print(blue)
\ 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