Question: what is idx in python?
Answer: "idx" is usually short for index. Python loops allows items in a nested list to be accessed directly like so: >>> lst = [[1, 2], [3, 4], [5, 6]] >>> >>> for a,b in lst: print a,b 1 2 3 4 5 6.