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 Answers
+ 4
Use round bracketsđ
+ 1
Thank you Jan Markus
+ 1
gaurav
even=(2*i for i in range(10**100))
is a generator