<jupyter_start><jupyter_text>All the IPython Notebooks in this **Python Examples** series by Dr. <NAME> are available @ **[GitHub](https://github.com/milaan9/90_Python_Examples)**  Python Program to Create a Long Multiline StringIn this example, you will learn to create a long multiline string.To understand this example, you should have the knowledge of the following Python programming topics:To understand this example, you should have the knowledge of the following **[Python programming](https://github.com/milaan9/01_Python_Introduction/blob/main/000_Intro_to_Python.ipynb)** topics:* **[Python Strings](https://github.com/milaan9/02_Python_Datatypes/blob/main/002_Python_String.ipynb)**<jupyter_code># Example 1: Using triple quotes

my_string = '''The only way to
learn to programing is
by writing codes.'''

print(my_string)

'''
>>Output/Runtime Test Cases:
     
The only way to
learn to programing is
by writing codes.
'''<jupyter_output>The only way to
learn to programing is
by writing codes.<jupyter_text>**Explanation:** You can use **`'''(multiline string)'''`** or **`"""(multiline string)"""`**.<jupyter_code># Example 2: Using parentheses and a single/double quotes

my_string = ("The only way to \n"
        	"learn to programing is \n"
        	"by writing codes.")

print(my_string)

'''
>>Output/Runtime Test Cases:
     
The only way to 
learn to programing is 
by writing codes.
'''<jupyter_output>The only way to 
learn to programing is 
by writing codes.<jupyter_text>**Explanation:** If you use **`(" ")`** syntax, you need to specify the newlines explicitly using **`\n`**.<jupyter_code># Example 3: Using \

my_string = "The only way to \n" \
        	"learn to programing is \n" \
        	"by writing codes."

print(my_string)

'''
>>Output/Runtime Test Cases:
     
The only way to 
learn to programing is 
by writing codes.
'''<jupyter_output>The only way to 
learn to programing is 
by writing codes.
{'fraction_non_alphanumeric': 0.11615900877645845, 'fraction_numerical': 0.009292720702116675, 'mean_word_length': 4.521367521367521, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 17, 'https://': 3, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '3', 'dir': 'jupyter-structured-clean-dedup', 'id': '240791', 'license': 'MIT', 'n_tokens_mistral': 638, 'n_tokens_neox': 603, 'n_words': 219, 'path': '02_Python_Datatypes_examples/027_create_a_long_multiline_string.ipynb', 'repo_name': 'peterennis/90_Python_Examples', 'size': '1944'}