Returning 3 greatest value using While loop : <p>How can i return the 3 greatest values using while loop based on the list of data given below:</p>

<pre><code>list_of_numbers = [
                   ['A',12.0],
                   ['B',52.0],
                   ['C',5.5],
                   ['D',77.0],
                   ['E',55.0],
                   ['F',3.7,]
                  ]
</code></pre>

<p>desired output:</p>

<pre><code>[ 
  ['D',77.0],
  ['E',55.0],
  ['B',52.0]

]
</code></pre>
