Formatting numbers consistently in Python,print('%.1e' % x)