Review Note

Last Update: 07/10/2024 01:20 PM

Current Deck: Python fundamentals

Published

Fields:

Code
x = (i**2 for i in range(4))
print(x)

Output
<generator object <genexpr> at 0x103f2d230>
Explanation
Generator expression.

There is no tuple comprehension.
Context
Python

Tags:

python_fundamentals

Suggested Changes:

Deck Changes (Suggestion to move the Note to the following Deck):

Field Changes:

Tag Changes: