Commit 98b730d0 by BellCodeEditor

auto save

parent 4d8b6805
Showing with 11 additions and 0 deletions
This diff is collapsed. Click to expand it.
list=['刘备','关羽','张飞']
list[1]='刘备'
list[0]='关羽'
sb=['吕布','华雄','袁术','公孙瓒']
list.extend(sb)
print(list)
print(list[:4])
print(list[2:5])
print(list[:])
print(list[:6])
\ 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