I’m trying to get a list with generator, but something weird happen.
X Empty list
Althrough the generator is same, but after the first list() function I get a empty list.
V
After I commit the first list() function, it give me the right list.
I also try this
Then I think after the first list(), may be the index stop at the end. So I try this, but still
New contributor
Try is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
1