Making a nested for loop (Python 3.x) - Stack Overflow

Making a nested for loop (Python 3.x) - Stack Overflow