擅长:python、mysql、java
<p>它旨在使排序和字典比较等操作得到很好的定义。</p>
<p>[引自<a href="http://docs.python.org/reference/expressions.html" rel="nofollow">Language Reference</a>]</p>
<blockquote>
<p>The operators <, >, ==, >=, <=, and != compare the values of two
objects. The objects need not have the same type. If both are numbers,
they are converted to a common type. Otherwise, objects of different
types always compare unequal, and are ordered consistently but
arbitrary.</p>
</blockquote>