title: How to access the key from the tuple in python dictionary?
body: <p>I have dictionary like this;</p>
  
  <pre><code>  csvDict[key] = {'delivery': delivery, 'tanksystemid': tanksystemid}
  </code></pre>
  
  <p>Im trying to do a condition check like;</p>
  
  <pre><code>tanksystemid=100
  
  for dic in csvDict.values():
                  if tanksystemid == dic['tanksystemid']:
                      key of csvDict?
  </code></pre>
  
  <p>How can i get the key of the csvDict?</p>