You are viewing a single comment's thread from:
RE: Arithmetic operation in Python
In Python 3.x, division result is always float.
Even in Python 2.7 you can actually set this functionality by importing "division" module from future.
from __future__ import division
1 / 2
# 0.5
:)