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