<jupyter_start><jupyter_text>All the IPython Notebooks in this lecture series are available at https://github.com/rajathkumarmp/Python-Lectures  Print Statement The **print** statement can be used in the following different ways :<jupyter_code>print("Hello World")<jupyter_output>Hello World<jupyter_text>In Python, single, double and triple quotes are used to denote a string.Most use single quotes when declaring a single character. Double quotes when declaring a line and triple quotes when declaring a paragraph/multiple lines.<jupyter_code>print('Hey')<jupyter_output>Hey<jupyter_text>Multi-line strings<jupyter_code>"""My name is <NAME>.

I love Python."""<jupyter_output><empty_output><jupyter_text>String concatenation is the "addition" of two strings. Observe that while concatenating there will be no space between the strings.<jupyter_code>string1 = "World"
string2 = "!"
'Hello ' + string1 + string2<jupyter_output><empty_output><jupyter_text>Formatting strings<jupyter_code>f"Hello {string1}"<jupyter_output><empty_output><jupyter_text>Other Examples The following are other different ways strings can be put to use.<jupyter_code>'_A' * 10
print("Jan\nFeb\nMar\nApr\nMay\nJun\nJul\nAug")
print("I want \\n to be printed.")
print """
Routine:
\t- Eat
\t- Sleep\n\t- Repeat
"""<jupyter_output>Routine:
	- Eat
	- Sleep
	- Repeat
{'fraction_non_alphanumeric': 0.10463378176382661, 'fraction_numerical': 0.00523168908819133, 'mean_word_length': 6.4804469273743015, 'pattern_counts': {'":': 0, '<': 23, '<?xml version=': 0, '>': 23, 'https://': 1, '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': '6', 'dir': 'jupyter-structured-clean-dedup', 'id': '314743', 'license': 'CC-BY-3.0', 'n_tokens_mistral': 452, 'n_tokens_neox': 432, 'n_words': 127, 'path': '02.ipynb', 'repo_name': 'georgi/Python-Lectures', 'size': '1348'}