What is the result of 25 / 4? How would you rewrite the expression if you wished the result to be an integer number?
The result of 25 / 4 is
Python 3.2.1 (default, Jul 10 2011, 21:51:15) [MSC v.1500 32 bit (Intel)] on win32
Type "copyright", "credits" or "license()" for more information.
>>> 25/4
6.25
>>>
The expression to get the result to be an integer number:
Python 3.2.1 (default, Jul 10 2011, 21:51:15) [MSC v.1500 32 bit (Intel)] on win32
Type "copyright", "credits" or "license()" for more information.
>>> 25//4
6
>>>