Commit 1b41966f by BellCodeEditor

save project

parent 3de7cd57
Showing with 5 additions and 1 deletions
...@@ -4,4 +4,8 @@ ...@@ -4,4 +4,8 @@
a=['吕布'] a=['吕布']
b=['袁术','公孙瓒','关羽','张飞','刘备','曹操'] b=['袁术','公孙瓒','关羽','张飞','刘备','曹操']
print(b[2])
print(b[:])
print(b[:4])
print(b[2:])
print(b[1:4])
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