Commit 2f4e4552 by BellCodeEditor

save project

parent 0c01cbb0
Showing with 2 additions and 12 deletions
students=['悟空''小贝''八戒''波奇']
students.remove('八戒')
print(students)
students.append('诺依')
print(students)
red=students[:2]
blue=students[2:]
print(red)
print(blue)
\ No newline at end of file
......@@ -3,8 +3,8 @@ list_hero={'猴三':10}
list_hero['猴三']=100
print(list_hero)
print(list_hero['猴三'])
list_hero['雨果']=100
print(list_hero)
......
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