Print the key for the maximum out of data set : <p>Currently my data set is:</p>

<pre><code>{('NSW', '06'): 0.4, ('QLD', '06'): 0.2, ('VIC', '06'): 0.0, ('NSW', '07'): 0.2, ('QLD', '07'): 0.4, ('VIC', '07'): 0.0, ('NSW', '08'): 0.2, ('QLD', '08'): 0.2, ('VIC', '08'): 0.0, ('NSW', '09'): 0.2, ('QLD', '09'): 0.2, ('VIC', '09'): 0.0, ('NSW', '10'): 0.2, ('QLD', '10'): 0.2, ('VIC', '10'): 0.0, ('NSW', '11'): 0.2, ('QLD', '11'): 0.6, ('VIC', '11'): 0.0}
</code></pre>

<p>I have achieved this from doing:</p>

<pre><code>key = (state,month)
    if key not in rainfall_and_month:
        rainfall_and_month[key] = rainfall
    if key in rainfall_and_month:
        rainfall_and_month[key] = min(rainfall, rainfall_and_month[key])
</code></pre>

<p>I wish to print out the largest value out of the key-value pairs. So basically I would like to make the code find "('QLD', '11'): 0.6", and then print out,</p>

<pre><code>A-value: QLD
B-value: 11
</code></pre>

<p>separately, so I would probably end up doing</p>

<pre><code>print("A-value:", state)
print("B-value:", month)
</code></pre>

<p>However I'm not sure as to how to find the largest value then extract those data points.</p>
