title: Using max() to find highest in a list, and if they tie, choose only one
body: <p>I'm making a voting software and having some problems. Here is a sample:</p>
  <pre><code>import random
  
  One = &quot;James&quot;
  Two = &quot;Tabitha&quot;
  Three = &quot;Emory&quot;
  
  running = {One: 0, Two: 0, Three: 0}
  
  #Enter voting code here
  
  winner = max(running)
  </code></pre>
  <p>I want to make it so if two candidates tie for the win, it will randomly select one of them as the winner. Is there any way to do this?</p>