KeKsBoTer / setlx2python

setlX to Python transpiler
2 stars 0 forks source link

nested iteration over sets causes breaking #19

Closed daniel-scholz closed 5 years ago

daniel-scholz commented 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