<jupyter_start><jupyter_text>Creation Env: Python [conda env:PY36]  Playing with Python 2.7 Comment and String Syntax in Python 3.6This stuff should work in 3.5 as well but has only been tested in 3.6 on Anaconda / IPython<jupyter_code>'''this is a quote with a newline.\nIt then continues with more text.
And even more text than that.'''
myVar = '''this is a quote with a newline.\nIt then continues with more text.
And even more text than that.'''
print(myVar)
print('''this is a quote with a newline.\nIt then continues with more text.''')
# Note:  note the strange behavior of period in these examples (when it shows versus when it does not)

''' ... and then he said ... something or other'''
'''This is a test.
... This is only a test.'''
print('''This is a test.
... This is only a test.''')
# using formatters on strings, not just inside print()

'Insert %s, ten: %d' % ('string', 10)
'My name is %s and I am %d years old' % ('Mike', 25)
# want to lose the quotes around the string?  put in a variable and call with print() or just put in print():
myVar2 = 'My name is %s and I am %d years old' % ('Mike', 25)
print('My name is %s and I am %d years old' % ('Mike', 25))
print(myVar2)<jupyter_output>My name is Mike and I am 25 years old
My name is Mike and I am 25 years old
{'fraction_non_alphanumeric': 0.11622464898595944, 'fraction_numerical': 0.0187207488299532, 'mean_word_length': 3.7695167286245352, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 0, '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': '1', 'dir': 'jupyter-structured-clean-dedup', 'id': '64591', 'license': 'MIT', 'n_tokens_mistral': 422, 'n_tokens_neox': 397, 'n_words': 217, 'path': 'PY_Basics/str_arr_lst_prnt/TMWP_Comments_and_MultiLine_Strings.ipynb', 'repo_name': 'TheMitchWorksPro/DataTech_Playground', 'size': '1282'}