I would like to take this dictionary I have:

```
    table = {2015-11-10:[('pear', 22), ('banana', 50)], 
    2015-11-13:[('banana', 22), ('apple', 50), ('strawberry', 30), ('pear', 35), ('orange', 2), ('mango', 76)]
    2015-11-12:[('banana', 22), ('orange', 50), ('mango', 30), ('strawberry', 35)]
    }

    with open ('transaction.csv', 'wb') as f:
        w = csv.writer(f, delimiter = ',')
        w.writerow(['transaction_date', 'fruits', 'quantity'])
        for k,v in table.items():
            w.writerow([k,v])

```

What I want to be printed is that each key, aka date has only one pair of tuples such that there are only three columns.
However I keep having it be printed out as:

```
    2015-11-10,"[('pear', 22), ('banana', 50)]"
    2015-11-13,"[('banana', 22), ('apple', 50), ('strawberry', 30), ('pear', 35), ('orange', 2), ('mango', 76)]"
    2015-11-12,"[('banana', 22), ('orange', 50), ('mango', 30), ('strawberry', 35)]"

```

Instead of this:

```
    2015-11-10,pear,22
    2015-11-10,banana,50
    2015-11-13,banana,22

```

And so on.

Any help would definitely be appreciated. Thank you.