i have one list with some coordinates in it, when i am printing it like that:

```
for i in range(0,len(List)):
    print("".join(["(%d, %d) \n" % (y[i], y[i+1]) for y in (List)]))

```

the output is this:

```
(0, 3) 
(0, 2) 
(0, 1) 
(1, 1) 
(1, 2) 
(2, 2) 
(2, 1) 
(3, 1) 
(3, 0) 
(2, 0) 
(1, 0) 
(0, 0)

```

i want to save the output in a .txt, but that is not a problem, my problem is that the .txt must be formmated like this:

```
(0, 3), (0, 2)
(0, 2), (0, 1)
(0, 1),(1, 1)
(1, 1),(1, 2)
(1, 2),(2, 2)
.....

```

i've tried many things but nothing worked..
it must be easy, but i am new to python
thank you in advance