import textwrap as t x=[l.rstrip()for l in t.dedent(open('../fd/0').read()).strip('\n').split('\n')] for y in x:print'%-*s'%(max(map(len,x)),y)