Here’s a Python puzzle that I just had an occaison to write.

a=[j for s in [ [(n,i) for i in range(N)] for n in range(N) ] for j in s]

Normally I’d pull this apart if I was going to include it in a program, but I’ll leave it here like this as a puzzle for my future self. It is reminding me of Perl!