Commit a3b09f31 by BellCodeEditor

auto save

parent f5aa1d46
Showing with 17 additions and 0 deletions
message = "诺伊,周末一起去看动漫展吧!"
for i in message:
print(i)
\ No newline at end of file
list = ["1","2","3","4"]
#把数字3删除
list.pop(2)
list.remove("3")
#增加一个数字5在4的后面
list.append("5")
#切片
#前两位
red = list[0:2]
#后两位
blue = list[-1:-3]
\ 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