A blank (" ") means that a blank should be put in front of positive numbers : Format : String PYTHON TUTORIALS


PYTHON TUTORIALS » String » Format »

 

A blank (" ") means that a blank should be put in front of positive numbers


print ('% 5d' % 10'n' ('% 5d' % -10)



Leave a Comment / Note


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


PYTHON TUTORIALS

 Navioo String
» Format