Advertisement
Guest User

Untitled

a guest
May 29th, 2017
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. import textwrap
  2.  
  3. def wrap(string, max_width):
  4. return textwrap.fill(string,max_width)
  5.  
  6. if __name__ == '__main__':
  7. string, max_width = raw_input(), int(raw_input())
  8. result = wrap(string, max_width)
  9. print result
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement