title: Get parent keys in a nested dictionary
body: <p>I looked through some other answers but I don't fully understand. There are no duplicate values.</p>
  <pre><code>{
    &quot;type&quot;: &quot;champion&quot;,
    &quot;data&quot;: { 
      &quot;89&quot;: {
        &quot;title&quot;: &quot;the Radiant Dawn&quot;,
        &quot;name&quot;: &quot;Leona&quot;
      },
      &quot;110&quot;:{
        &quot;title&quot;: &quot;the Arrow of Retribution&quot;,
        &quot;name&quot;: &quot;Varus&quot;
      }
    }
  }
  </code></pre>
  <p>what I have, I'm not sure how to proceed. In the actual dict there's more information than just title and key</p>
  <pre><code>championID = 0
  for key, value in championData[&quot;data&quot;].items():
      for childkey,childvalue in value.items():
          #
  champion = getChamp(championID)
  </code></pre>
  <p>I want to input a name and have it return the ID (the number, 89 and 110 are listed). For example, inputting Leona would return 89.</p>
  <p>(Sorry, I could have done a better job of asking the question at the beginning :'v)</p>