增加:

seq = append(seq,seq..)

减少:
index:=1

seq=append(seq[:index],seq[index+1:]..)

posted on 2021-11-01 22:29  weitwaitv  阅读(40)  评论(0)    收藏  举报