Commit d380106a by BellCodeEditor

save project

parent cc4c79f5
Showing with 6 additions and 6 deletions
a=['绿布'] students = ["悟空","小贝","八戒","波奇"]
c=['袁术','公孙瓒','关羽','张飞','刘备','曹操'] students.pop(-2)
b=c[2:5] students.append("诺依")
a.extend(b) red = a[0:3]
print(a) blue = a[-2: ]
\ No newline at end of file \ 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