How do you format a string to have constant width and be left-justified? There is the Aw formatter, where w denotes desired width of chara
Aw
w
I suggest that you do not limit the number of output characters.
Change it to the following will work:
44 format(A) print 44, 'Hi Stack Overflow'