Expression du générateur
sum([x*x for x in range(10)])
Frightened Frog
sum([x*x for x in range(10)])
>>> genexpr = ('Hello' for i in range(3))
>>> list(genexpr)
['Hello', 'Hello', 'Hello']