import textwrap
s = """Python is a programming language that lets you work quickly
and integrate systems more effectively. The core of extensible programming
is defining functions. Python allows mandatory and optional arguments,
keyword arguments, and even arbitrary argument lists."""
print(textwrap.fill(s, width=40))
'''
run
Python is a programming language that
lets you work quickly and
integrate systems more effectively. The
core of extensible programming
is defining functions. Python allows
mandatory and optional arguments,
keyword arguments, and even arbitrary
argument lists.
'''