title: getting minimum (key, value) in a list that holds a dictionary
body: <p>I have a list that holds a dictionary row like this: </p>
  
  <pre><code>queue = [{1: 0.39085439023582913, 2: 0.7138416909634645, 3: 0.9871959077954673}]
  </code></pre>
  
  <p>I'm tryin to get it to return the smallest value along with its key, so in this case it would return </p>
  
  <pre><code>1,0.39085439023582913
  </code></pre>
  
  <p>I've tried using </p>
  
  <pre><code>min(queue, key=lambda x:x[1]) 
  </code></pre>
  
  <p>but that just returns the whole row like this: any suggestions? thank you!</p>
  
  <pre><code>{1: 0.39085439023582913, 2: 0.7138416909634645, 3: 0.9871959077954673}
  </code></pre>