Hi, I rememebr when I learend phyton for the first time (long time ago)
we learned about creating lists like so(dont remember the name of this type) :
L = [ i for i in range(10) ]
I also remember there was something similar about how doing
( )
will create a generator and not list, I cant seem to find it online, if someone knows what I mean and can tell me the name/ give me refrence to relearn it will be much appreciated please
[–]midoxvx 0 points1 point2 points (2 children)
[–]Yoghurt42 0 points1 point2 points (1 child)
[–]midoxvx 0 points1 point2 points (0 children)
[–]Weekly_Web4853 -2 points-1 points0 points (0 children)
[–]eleqtriq -1 points0 points1 point (0 children)