<jupyter_start><jupyter_text>CrashPy**Welcome to the World of Python!** Python is a fun language to learn, and really easy to pick up even if you are new to programming. In fact, quite often, Python is easier to pick up if you do not have any programming experience whatsoever. Python is high level programming language, targeted at students and professionals from diverse backgrounds.This set of examples are in Python 3, written and executed in the beautifully simple IDE Jupyter Notebook. As Notebooks are rendered in the browser as web applications, they can support a wide range of frontend elements, including cells (code and markdown), graphics, animation and interactivity. Note that Jupyter initializes a local server running python at the backend (on your own computer), and renders the frontend through a Notebook environment at `localhost:8888`. Keep the backend server (generally runs on your terminal for Linux/Mac or Anaconda Prompt for Windows) running so that the frontend notebook interface can access Python. Once you are familiar with the Notebook environment, and the basic Python syntax on this page, feel free to explore the other Modules in this repository.**License Declaration** : Following the lead from the inspirations for this material, and the *spirit* of Python education and development, all modules of this work are licensed under the Creative Commons Attribution 3.0 Unported License. To view a copy of this license, visit http://creativecommons.org/licenses/by/3.0/.---  Cells in the NotebookNotebook is a collection of Cells that can execute. The cell below is a 'Code' cell, and it can execute Python code. This particular text-block is also a Cell in the Notebook, and it can render 'Markdown' code. You may press "SHIFT+ENTER" to execute a specific Cell, and it will execute either Python or Markdown.<jupyter_code># This is a typical Cell in the Notebook; it can execute
# This particular Cell is a 'Code' cell; executes Python
# Execute to Print
print("Hello World")
# Execute to Compute
1+2
# Execute to Compute and Print
print(1+2)
# The Commented parts in a Cell do not Execute
print("Hello", 1+2)           # Inline comment<jupyter_output><empty_output><jupyter_text>--- Basic SyntaxYou may write simple Python expressions and commands in the Cells to start with. The basic syntax should abide by the following rules.- No extra space. Statements should start at the beginning of the line, unless you need indentation for control (discussed later).- Statements always finish at the end of a line, unless there is an open bracket, or a `\` marker for continuation to a new line.- Single-Line Comments always start with the `` character, which indicates that the rest of the line is a comment in Python.- You may also have a Multi-Line Comment, using the `'''` tag, which are generally used for Documentation in Python.- Variable Names should not start with Numbers or Special Characters, and please stay away of the Python Keywords.Further details on *good practices* of Python programming : https://docs.python-guide.org/writing/style/<jupyter_code># Fine
print("Hello")
print("World!")
# Illegal
print("Hello")
    print("World!")
# Fine
1 + 2 + 3
# Illegal in general
1 + 2
  + 3
# Fine with open bracket
(1 + 2
   + 3)
# Fine with newline marker
1 + 2 \
  + 3
'''This is a Multi-Line Comment in Python
   Used quite often for Documentation'''
print("Hello World!")<jupyter_output><empty_output><jupyter_text>--- Getting HelpTo get help on anything in Python, use the `help()` command. Note that it continues executing unless you Stop it from the menubar.<jupyter_code>help()<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.06407447973713033, 'fraction_numerical': 0.007393209200438116, 'mean_word_length': 4.690031152647975, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 13, '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': '3', 'dir': 'jupyter-structured-clean-dedup', 'id': '241120', 'license': 'CC-BY-3.0', 'n_tokens_mistral': 947, 'n_tokens_neox': 902, 'n_words': 530, 'path': 'Module0_TheNotebook.ipynb', 'repo_name': 'RealDyllon/crashpy', 'size': '3652'}