Skip to content

Latest commit

 

History

History
7 lines (4 loc) · 269 Bytes

File metadata and controls

7 lines (4 loc) · 269 Bytes

Generator comprehension

Explain the use of (i for i in iterable) to create generators.

TODO: ADD MORE

  • a generator comprehension is passed to sum() to drive summation without storing all the values in a list first hamming