Rafael Knuth <[email protected]> wrote:
>I am trying to figure out how exactly variables in nested loops are
>generated, and don't get it 100% right yet. Here's my code:

Maybe it's easier if you look at a simpler example like:

for i in range(4):
    for j in range(4):
        print("i: {}, j: {}".format(i, j))

Do you understand how that works?

Bye, Andreas
_______________________________________________
Tutor maillist  -  [email protected]
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor

Reply via email to