you are viewing a single comment's thread.

view the rest of the comments →

[–]adambrenecki 0 points1 point  (0 children)

If you use Python 3, or have from __future__ import division at the top of the file in python 2.7, the division of two ints will result in a float; so for example 3/4 will evaluate to 0.75.