以前一直以为python List的slice无非就是0开头,-1表示最后一个,这样。后来发现,根本不是这么简单的逻辑,而是这样的:
本文标题:python slice
本文链接:https://www.haomeiwen.com/subject/lyvrottx.html
网友评论