blob: f250a9c221967404cc1b4b40fda82416937ddddd (
plain)
1
2
3
4
5
6
7
8
9
10
|
# make a function that turns a list of lists of coordinates into a string
def list_to_string(list_of_lists):
"""
Takes a list of lists of coordinates and returns a string of the coordinates
"""
string = ''
for i in list_of_lists:
string += str(i[1]) + ',' + str(i[0]) + ';'
return string
|