Wrap Words FIXED by hallvabo

import textwrap as w
n=input()-1
while 1:print w.fill(raw_input(),n).replace('t.\n','t. \n')

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return to the top page