Talk:BE.180:Assignment2
From OpenWetWare
True division
When computing ratios for this assignment, I kept getting 0.0000 whenever my quotient would have been less than one. In Python 2.3.x, the '/' operator is used for floor division by default, so at the beginning of your code you should override this behavior with a line like
from __future__ import division
to enable true division. Hope this helps! yeem 00:46, 13 March 2006 (EST)