??

  • 值得再刷一遍,理解夯实
a,b=map(int,input().split())
alist=list(map(int,input().split()))
j=0
for i in range(a):
    start=0+j
    end=0+j+b
    print(*alist[start:end])

    j=j+b