title: Compare string to float in Python
body: <p>I tried this in python shell</p>
  
  <pre><code>&gt;&gt;&gt; a='apple'
  &gt;&gt;&gt; b=11.1
  &gt;&gt;&gt; a&gt;b
  True
  &gt;&gt;&gt; a
  'apple'
  &gt;&gt;&gt; b&gt;a
  False
  </code></pre>
  
  <p>Can someone explain to me how <code>a&gt;b</code> is True? When <code>a</code> is an string and <code>b</code> is float.</p>