Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
1-liner: quick naming and weird slicing solution in Creative category for Zigzag Array by Phil15
create_zigzag=lambda r,c,s=1,R=range:[[*R(s+i*c,s+i*c+c)][::1-i%2*2]for i in R(r)]
Nov. 1, 2018
Comments: