Print variables into a string : Output Format : Development PYTHON examples


PYTHON examples » Development » Output Format »

 

Print variables into a string


Print variables into a string


x = 1234
res = "integers: ...%d...%-6d...%06d" (x, x, x)

print res
           
       



Leave a Comment / Note


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


PYTHON examples

 Navioo Development
» Output Format