how to make python format floats with certain amount of significant digits?,"print('%.6g' % (i,))"