Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # b_textwrap.py
- import textwrap
- text = "I Love Python Coding"
- wrapped_text = textwrap.wrap(text, width=10)
- for line in wrapped_text:
- print(line)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement