Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
Iterated lambdas make Python sad :( solution in Creative category for The Hidden Word by smilicic
checkio = lambda T,W, e=enumerate:(lambda C:(lambda D:(lambda I:I+[I[0],I[1]+len(W)-1])(next(filter(lambda x:x[1],([j+1, l.find(W)+1] for j, l in e(D)))))if W in C else(lambda L:(lambda TT:(lambda I:I+[I[0]+len(W)-1,I[1]])(next(filter(lambda x:x[0],([l.find(W)+1, j+1] for j,l in e(TT))))))([''.join(s.ljust(L)[i] for s in D)for i in range(L)]))(max(len(s) for s in D)))(C.split('\n')))(''.join(T.lower().split(' ')))
Sept. 26, 2016