rjust(),ljust(),zfill()たち

In [49]: s =  'Hello, world'
    ...: print (str(s))
    ...: print (repr(s))#インタープリタが読めるよう表現を生成する。
    ...: print(s.rjust(30))#30文字の中で右寄せる。
    ...: print(s.ljust(30))#30文字の中で左寄せる。
    ...: print(s.zfill(30))#30文字の中で0でパディング。
    ...:
    ...:
Hello, world
'Hello, world'
                  Hello, world
Hello, world
000000000000000000Hello, world