title: Convert list of coordinates to list of tuples
body: <p>I have a python script that generates a list of coordinates in the following format.</p>
  <pre><code>[([-37.9503756], [176.93828736155422]),
   ([-43.6131375], [172.3051281]),
   ([-38.1272259], [177.1307049])]
  </code></pre>
  <p>I want to convert that to the following format.</p>
  <pre><code>list_of_coords = [(-37.9503756, 176.93828736155422), (-43.6131375, 172.3051281), (-38.1272259, 177.1307049)]
  </code></pre>
  <p>I tried to convert the list to a nested list and convert it to list of tuple. But, it didn't work.</p>
  <pre><code>listoflist = [list(row) for row in list_of_coords]
  listoflist
  
  [[[-37.9503756], [176.93828736155422]],
   [[-43.6131375], [172.3051281]],
   [[-38.1272259], [177.1307049]]]
  
  list(map(tuple, listoflist))
  
  [([-37.9503756], [176.93828736155422]),
   ([-43.6131375], [172.3051281]),
   ([-38.1272259], [177.1307049])]
  </code></pre>