Please ensure that:
The code works the way that you want it to.
Have the relevant code in the question.
Have provided enough code that we can actually give genuine feedback.
Explained the code in the body of the question.
Have a title that is a short summary of the code.
For example, I have two for loops iterating over the same list to create two ...
To the best of my knowledge, does the code work as intended?
Code Review aims to help improve working code. If you are trying to figure out why your program crashes or produces a wrong result, ask on Stack Overflow instead. Code Review is also not the place to ask for implementing new features.
From this ...