Commit 56e53e3e by BellCodeEditor

auto save

parent 9d7f7d7d
Showing with 5 additions and 5 deletions
...@@ -7,7 +7,7 @@ print(students) ...@@ -7,7 +7,7 @@ print(students)
students.extend("诺伊") students.extend("诺伊")
print(students) print(students)
# 请用切片将班级列表的前2名加入到红组,后2名加入到蓝组 # 请用切片将班级列表的前2名加入到红组,后2名加入到蓝组
red.list[0:2] red=students[:2]
print(students) print(red)
blue.list[2:4] blue=students[2:]
print(students) print(blue)
\ 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