title: Get the max value of float numbers on a list on tuples?
body: <p>i have the following list:</p>
  
  <pre><code>erra_eus_repo = [(u'RHSA-2017:2796', u'6.7'), (u'RHSA-2017:2796', u'6.8'), (u'RHSA-2017:2794', u'7.2'), (u'RHSA-2017:2793', u'7.3')]
  </code></pre>
  
  <p>what I am trying to take the <code>floating</code> point numbers from each <code>tuple</code>:</p>
  
  <pre><code>6.7, 6.8 ,7.2, 7.3
  </code></pre>
  
  <p>and get the max number for each version that before the dot .ie :</p>
  
  <pre><code>new_list = [ 6.8, 7.3 ]
  </code></pre>
  
  <p>Note that <code>max()</code> will not work here, since if I have 5.9 and 5.11, I will get the max as 5.9, I  want the result to be 5.11 since 11 > 9.</p>
  
  <p>What I have tried:</p>
  
  <pre><code>eus_major = []
  eus_minor = []
  for major in erra_eus_repo:
      minor = (major[1][2])
      major = (major[1][0])
      if major not in eus_major:
              eus_major.append(major)
  
      if minor not in eus_minor:
              eus_minor.append(minor)
   print(eus_major, eus_minor)
  </code></pre>
  
  <p>currently i am getting:</p>
  
  <pre><code>[u'6', u'7'] [u'7', u'2', u'3']
  </code></pre>