( ** for in range( )print(xat faceb in [ ]next(xstopiteration traceback (most recent call lastin ---- next(xstopiterationin [ ]import datetime str(datetime datetime now()out[ ] : : in [ ]print(datetime datetime now()for in (( + )** for in range(int( ))) **(- / print(datetime datetime now() : : : : in [ ]print(datetime datetime now()lst [( + )** for in range(int( ))for in lstx**(- / print(datetime datetime now() : : : : generator returns values on demand no need to create table and than iterate over it in [ ] iter(range( )next(xout[ ] in ] ( ** for in range( )list(xfiltermapreduce