Created
April 12, 2017 05:21
-
-
Save abhinavkorpal/a99b6ad049291f9ee010f21a6dce5334 to your computer and use it in GitHub Desktop.
Text Wrap
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def wrap(string, max_width): | |
return textwrap.fill(string,max_width) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment