question about Z=[[x for y in range(1,2) if AList[x]==y] for x inrange(0,5)]

V

Vincent Davis

Z=[[x for y in range(1,2) if AList[x]==y] for x in range(0,5)]
I am not sure how to ask this but which "for" is looped first? I could
test but was wondering if there was a nice explanation I could apply
to future situations.

Thanks
Vincent Davis
720-301-3003
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,994
Messages
2,570,223
Members
46,814
Latest member
SpicetreeDigital

Latest Threads

Top