3 ms·
Here's a better one (taken from http://code.activestate.com/recipes/67668/#c7 http://code.activestate.com/recipes/67668/#c7 ): f= lambda n: [[[j for j in (
by pmiller2 17y ago
Here's a better one (taken from http://code.activestate.com/recipes/67668/#c7 http://code.activestate.com/recipes/67668/#c7 ):
f= lambda n: [[[j for j in (j*i,)][0] for i in range(2,n+1)][-1] for j in (1,)][0]