In [4]:
import textwrap
text = "I love Python Coding "
# Wrap the text to a specific width
wrapped_text = textwrap.wrap(text, width=10)
# Print the wrapped text
for line in wrapped_text:
print(line)
#clcoding.com
I love Python Coding
0 Comments:
Post a Comment