Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
I am new to python and have the following piece of test code featuring a nested loop and I\'m getting some unexpected lists generated: