title: Using a for loop instead of if,elif?
body: <p>I can begin with what i've written:</p>
  
  <pre><code>for player in self.players:
      player.shot()
  
  if self.players[0].best &gt; self.players[1].best and  self.players[2].best:
      self.players[0].wins += 1
      print ("Winner: ", self.players[0].name, "\nResult: ", self.players[0].best)
  elif self.players[1].best &gt; self.players[0].best and  self.players[2].best:
      self.players[1].wins+=1
      print("Winner: ", self.players[1].name, "\nResult: ", self.players[1].best)        
  </code></pre>
  
  <p>I know how to create a loop, but i dont know how to use it when comparing object values.
  This only works if i know how many the players are so if there where 4 players, the code above would be useless. 
  How do i write this in a loop that returns the highest of the self.best values?</p>