Commit eaa6ca2b by BellCodeEditor

save project

parent 57809802
Showing with 22 additions and 2 deletions
......@@ -9,4 +9,10 @@ for i in range(len(hero)):
hero.insert(i-1,name)
hero.insert(i,power)
break
print(hero)
\ No newline at end of file
hero[-6:]
print(hero[-6:])
print(hero)
students = ["悟空","小贝","八戒","波奇"]
students.pop(-2)
students.pop(2)
students.remove("八戒")
students.append("诺伊")
students.insert(1,"诺伊")
red = student[0:2]
blue = students[2:]
\ No newline at end of file
++ "b/\350\200\261\343\200\202py"
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