I am curious how it is that python ‘knows’ how to distinguish between dummy variables when using nested loops. For example, take the following code:
Here I have a list of sublist transactions that are made up of tuples. In this case, I am calling each data point in the tuple transaction list a
datum. But what I don’t understand is how python understands how to go a layer deeper in parsing the data structure.
If someone could please explain, that would be fantastic! Thank you.