String formatting : Output Format : Development PYTHON examples


PYTHON examples » Development » Output Format »

 

String formatting




integerValue = 4237
print "Integer ", integerValue
print "Decimal integer %d" % integerValue 
print "Hexadecimal integer %xn" % integerValue

           
       



Leave a Comment / Note


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


PYTHON examples

 Navioo Development
» Output Format