python pair multiple field entries from csv
First, get a distinct of all breakfast items.
A pseudo code like below 
Iterate through each line
Collect item and person in 2 different lists
Do a set on those 2 lists
Say persons, items

Counter = 1
for  person in persons:
  for  item in items:
    Print "breafastitem", Counter
    Print person, item
Trying to take data from a csv like this:
col1   col2
eggs   sara
bacon  john
ham    betty
The number of items in each column can vary and may not be the same. Col1 may have 25 and col2 may have 3. Or the reverse, more or less.
And loop through each entry so its output into a text file like this
breakfast_1
breakfast_item eggs
person sara
breakfast_2
breakfast_item bacon
person sara
breakfast_3
breakfast_item ham
person sara
breakfast_4
breakfast_item eggs
person john
breakfast_5
breakfast_item bacon
person john
breakfast_6
breakfast_item ham
person john
breakfast_7
breakfast_item eggs
person betty
breakfast_8
breakfast_item bacon
person betty
breakfast_9
breakfast_item ham
person betty
So the script would need to add the "breakfast" number and loop through each breakfast_item and person.
I know how to create one combo but not how to pair up each in a loop?
Any tips on how to do this would be very helpful.