Books:
Python Coding Challenge - Question with Answer (ID -140426)
-
Explanation:
*🔹 Step 1: Create Generator*
x = (i*i for i in range(3))
This creates a generator object
It does NOT store values immediately
It will gene...
No comments:
Post a Comment