擅长:python、mysql、java
<p>在你发布关于编程语言基本工作原理的问题之前,请尝试在文档中找到答案</p>
<p>我从这里理解:<a href="https://docs.python.org/2/library/functions.html#int" rel="nofollow noreferrer">int</a></p>
<blockquote>
<p>Return an integer object constructed from a number or string x, or return 0 if no arguments are given. If x is a number, it can be a plain integer, a long integer, or a floating point number. <strong>If x is floating point, the conversion truncates towards zero.</strong> If the argument is outside the integer range, the function returns a long object instead.</p>
</blockquote>