You are viewing a single comment's thread. Return to all comments →
Replace the list comprehension by a generator expression and you got the most efficient and shortest solution.
Seems like cookies are disabled on this browser, please enable them to open this website
Loops
You are viewing a single comment's thread. Return to all comments →
Replace the list comprehension by a generator expression and you got the most efficient and shortest solution.