I\'m trying to display the output of my addition to more than 2 decimal places.
import time import random max_number = 1000000.0 random_time = random.randra
>>> f = 1/7. >>> repr(f) '0.14285714285714285' >>> str(f) '0.142857142857' >>> f 0.14285714285714285 >>> print f 0.142857142857 >>> '%.15f' % f '0.142857142857143'