String Format : Output Format : Development PYTHON examples


PYTHON examples » Development » Output Format »

 

String Format


 String Format: Force eight digits in integer

integerValue = 4237

print "Force eight digits in integer %.8d" % integerValue

           
       



Leave a Comment / Note


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


PYTHON examples

 Navioo Development
» Output Format