I am trying to print whole numbers (number left of decimal point) with the following code:
print "Completed in %g".format(str(time_difference / 60), 1.0) + " minutes, %g".format(time_difference % 60, 1.0) + " seconds."
Instead I get:
Completed in %g minutes, %g seconds.