0
I want solution for the following code using generators
given code: even=[2*i for i in range(10**100)] This will give Memoryerror I want solution for this using Generators.
3 Réponses
+ 4
Use round brackets😉
+ 1
Thank you Jan Markus
+ 1
gaurav
even=(2*i for i in range(10**100))
is a generator