2 ms·
You could use the all function instead of the inner loop in the for-loop solution as well, which would solve the problem without any of the kludges described in
by pdonis 6y ago
You could use the all function instead of the inner loop in the for-loop solution as well, which would solve the problem without any of the kludges described in the article. But I like the list comprehension better since it is more declarative.