Python string comparison with different case and float
<p>why python is giving output like this:</p>

<pre><code>&gt;&gt;&gt; 'apple' &gt; 'T'
True
&gt;&gt;&gt; 'apple' &gt; 't'
False
</code></pre>

<p>It should be True for both cases.right?</p>

<p>Edit:</p>

<p>I got the Idea of ASCII Table.Thanks!!</p>

<p>Now what about this.Is 11.1 is being treated as '11.1'?</p>

<pre><code>&gt;&gt;&gt; 'apple' &gt; 11.1
True
</code></pre>
