Closed daniel-scholz closed 5 years ago
Iterating over a set through nested loops causes unexpected behavior Example Code:
for i in my_set: for j in my_set: print(i, j)
Expected Output:
0 0 0 1 1 0 1 1
Actual Output:
0 0 0 1
Iterating over a set through nested loops causes unexpected behavior Example Code:
Expected Output:
Actual Output: