1、由于Python列表的切片会在内存中创建新对象,因此需要注意的另一个重要函数是itertools.islice。2、通常需要遍历切片,而不仅仅是在内存中静态创建它。islice非常适合这个。一...