1>>> listcomp = ['Hello' for i in range(3)]
2>>> genexpr = ('Hello' for i in range(3))
3
1>>> genexpr = ('Hello' for i in range(3))
2>>> list(genexpr)
3['Hello', 'Hello', 'Hello']
4
1>>> iterator = ('Hello' for i in range(3))
2>>> for x in iterator:
3... print(x)
4'Hello'
5'Hello'
6'Hello'
7