Commit 176d7aec by BellCodeEditor

save project

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