<div dir="ltr">Guys, am I missing something?<div><br></div><div>-----------------------------</div><div><br></div><div><div><b>Python 2.7.2</b> (default, Jun 12 2011, 15:08:59) [MSC v.1500 32 bit (Intel)] on win32Type "help", "copyright", "credits" or "license" for more information.</div>
<div>>>> x = 4.5</div><div>>>> x.is_integer()</div><div>False</div></div><div><br></div><div>-----------------------------</div><div><br></div><div><div>Python 2.7.1 (080f42d5c4b4, Aug 23 2011, 11:41:11)</div>
<div>[<b>PyPy 1.6.0</b> with MSC v.1500 32 bit] on win32</div><div>Type "help", "copyright", "credits" or "license" for more information.</div><div>And now for something completely different: ``- It's hard to say exactly what</div>
<div>constitutes research in the computer world, but as a first approximation, it's</div><div>software that doesn't have users.''</div><div>>>>> x = 4.5</div><div>>>>> x.is_integer()</div>
<div>Traceback (most recent call last):</div><div> File "<console>", line 1, in <module></div><div>AttributeError: 'float' object has no attribute 'is_integer'</div><div><br></div><div>
-----------------------------</div></div></div>