Formatting example : String center : String PYTHON examples


PYTHON examples » String » String center »

 

Formatting example


Formatting example:center, rjust, ljust

string1 = "Now I am here."

print string1.center50 )
print string1.rjust50 )
print string1.ljust50 )

           
       



    Related Scripts with Example Source Code in same category :

Leave a Comment / Note


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


PYTHON examples

 Navioo String
» String center