Commit d01b8374 by BellCodeEditor

auto save

parent 5ec53ebb
Showing with 7 additions and 0 deletions
list_1 = [1,2,3,4,5]
# 顺序
print(list_1[-3:])#取左不取右1 2 3 4
#倒序
# list_1[-3:]
# list_1[:]#不写全都取
\ 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