Actually i am working on 2.7.3 now i got .
Thanks dude.

On Sat, Sep 14, 2013 at 3:52 PM, Vivek Puri <vpuri.soc...@gmail.com> wrote:

> Hi,
>
>  I tried
>>
>> In [55]: None < 10
>> Out[55]: True
>>
>> It gives me output  True .
>> it suppose to give me error .
>> Please explain me None < 10  is  True .
>>
>>
> In python2 None is always considered "lowest" value so, None will always
> be < any other value. Which explains the result you are getting.
> In Python3 it will raise an exception because two values are of different
> type.
>
>
> rgds
> vivek
> ______________________________**_________________
> BangPypers mailing list
> BangPypers@python.org
> https://mail.python.org/**mailman/listinfo/bangpypers<https://mail.python.org/mailman/listinfo/bangpypers>
>



-- 
Regards :
Prashant Gaur
+91 9030015491
_______________________________________________
BangPypers mailing list
BangPypers@python.org
https://mail.python.org/mailman/listinfo/bangpypers

Reply via email to