|
|
|
|
|
by swsieber
3435 days ago
|
|
I think the Python community considers list comprehension more readable than loops. And writing generators allows you to write simple code with them. I don't consider generators to be fancy - just a tool to pull out complexity into a small area and make the rest of the code readable. |
|