Find and shows the highest record of the name list
<p>I'm new to Python.
I've been given a task to write a Python program to read a name list which consist of people names and their height.</p>

<p>Any suggestion or idea for coding to find out the highest height and show the record?</p>

<p>For examples, the highest height is 180 and the result will show "Adam,180"</p>

<p>We can use operator.itemgetter</p>

<pre><code>import operator
stats = {'Dave':179, 'Adam':180, 'Daniel': 170}
max(stats.items(), key=operator.itemgetter(1))
</code></pre>

python