在Python中把列表分割成同样大小块的方法:1、使用生成器;2、使用for循环,语法“[l[i:i+n] for i in range(0, len(l), n)]”,l是要分割的list,n是分成多少份。Python中把列表(list)...