Commit ccc69843 by BellCodeEditor

save project

parent 21317aa1
Showing with 13 additions and 0 deletions
......@@ -6,3 +6,15 @@ list.append('香蕉')
print(list)
list.pop(-1)
print(list)
#[start]added by teacher
list1=['樱桃','菠萝']
list.append(list1)
print(list)
#list.pop(5)
#list.remove(list1)
list.remove(['樱桃', '菠萝'])
print(list)
list.pop(-1)
list.pop(-1)
print(list)
#[end]added by teacher
\ 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