String output format : Output Format : Development PYTHON examples


PYTHON examples » Development » Output Format »

 

String output format


String output format: %e, %f, %g and

x = 1.23456789

print '%e | %f | %g' % (x, x, x)

print "%s" % x, str(x)



           
       



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .


PYTHON examples

 Navioo Development
» Output Format