title: returning the highest value in the key : value pair in a dictionary
body: <p>I'm in need of some assistance in this code problem from a MOOC on python programming that I'm taking. This is just for self-learning, and not for any graded coursework. Could you please provide some guidance. I am stuck. Thanks in advance for your help.</p>
  <p>The problem statement is below:
  Write a function called most_active. most_active should take one parameter, a dictionary. The dictionary's keys will all be strings representing people's names. The dictionary's
  values will be integers representing days of activity on a course forum.</p>
  <p>most_active should return the name of the most active student in the class. That is, most_active should return the key whose value is the highest in the dictionary.</p>
  <p>For example:</p>
  <pre><code>some_dictionary = {&quot;Joyner, David&quot;: 14, &quot;Chopra, Deepak&quot;: 22, &quot;Winfrey, Oprah&quot;: 17}
  most_active(some_dictionary) -&gt; &quot;Chopra, Deepak&quot;
  </code></pre>
  <p>The key &quot;Chopra, Deepak&quot; has the highest value (22), so the function returns &quot;Chopra, Deepak&quot;. You may assume there will not be a tie for most active.</p>
  <p>Add your code here!</p>
  <pre><code>def most_active(dictionary):
  </code></pre>
  <p>Below are some lines of code that will test your function. You can change the value of the variable(s) to test your function with different inputs.</p>
  <p>If your function works correctly, this will originally
  print:
  Chopra, Deepak</p>
  <pre><code>some_dictionary = {&quot;Joyner, David&quot;: 14, &quot;Chopra, Deepak&quot;: 22, &quot;Winfrey, Oprah&quot;: 17}
  print(most_active(some_dictionary))
  </code></pre>