4 ms·
Phew -- it's an automatic filter. Sadly, you can write code just like that in Python. I don't know what that perl snippet does, my caches have long since flus
by wyldfire 9y ago
Phew -- it's an automatic filter.
Sadly, you can write code just like that in Python. I don't know what that perl snippet does, my caches have long since flushed ;) -- but here's a Python snippet that's relatively dense:
def foo(y): return lambda x: {str(i) : '_{}'.format(i**y) for i in range(x)}