Pemahaman Generator Python
gen = (i for i in range(10))
Defeated Deer
gen = (i for i in range(10))
# generates 400.. 100.. 0.. 100.. 400
>>> gen_1 = (i**2 for i in [-20, -10, 0, 10, 20])