How can I print the following lines of code but get a floating point number of of it instead of a rounded int?
print "Math Question: ", 100 - 25 * 3 % 4
print 3 + 2 + 1 - 5 + 4 % 2 - 1 / 4 + 6
If you use integers, Python assumes you really mean them to be integers and does integer math. If you use floats, it will do floating point math.
Try something like this to get floating point output:
print 3/4.0
from __future__ import division, and not with -Qnew.