3 ms·
len([i for s in ([i for i in range(x)], [i for i in range(y)]) for i in s])
by mythrwy 10y ago
len([i for s in ([i for i in range(x)], [i for i in range(y)]) for i in s])
- mythrwy 10y ago(as long as it doesn't need to be fast or do negative numbers)