Probably basic Python, but I can't get my head around it. 

I have some results from a function which print as `[{1,2,3},{4,5,6),{7,8,9}]`. I want to write this to a csv like this:

```
A      B     C
1      2     3
4      5     6
7      8     9

```

With this code (note the `writerow.`):

```
filename = 'test.csv'

sr = []
for row in result:
    sr.append(row)

with open(filename, "wb") as f:
    writer = csv.writer(f, delimiter=';')
    writer.writerow(sr)

```

I get:

```
A        B        C
{1,2,3}  {4,5,6}  {7,8,9}

```

When I use `writer.writerows(sr)` I get `_csv.Error: sequence expected`. Which makes perfect sense because my initial result is just one row. 

How to transform the data in such a way that I can get it to a csv like I want?