<jupyter_start><jupyter_text>Introduction to Python===These lectures are based on the "Introduction to Python" resources by <NAME>, developed as a resource for students who want to learn Python as their first language, and for teachers who want a free and open curriculum to use with their students.While we are using a modified version of the course, you can also visit the original student-facing pages at [introtopython.org](http://introtopython.org). There is a cleaner navigation there, and some better overall styling.Note that we'll be doing somethings a little differently, but you may also wish to refer to Eric's course which includes some features of Python that we'll be skipping over. Introduction to Jupyter Notebooks---These lectures are delivered using Jupyter Notebooks. Notebooks are interactive pages that allow us to put code into a page which mixes text (for annotations, comments or instructions) and live code that can be edited and run.Double clicking on any text paragraph allows it to be edited, and pressing the Control & Return keys together will exit editing. If you click on a cell containing code then press Ctrl-Return, the code will run in the notebook and output will be displayed. We'll demonstrate that below! Run your First Python Program---When programmers are learning a new language, they tend to write a short program that prints some version of the message "Hello world!". As a first program, this is enough to demonstrate that the programming environment is correctly configured and running.Double-click in the cell below, and press **Ctrl-Return** to run the code!<jupyter_code>print('Hello World!')<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.04662283323371189, 'fraction_numerical': 0.0, 'mean_word_length': 5.154411764705882, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 6, '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': '224938', 'license': 'MIT', 'n_tokens_mistral': 386, 'n_tokens_neox': 368, 'n_words': 247, 'path': 'notebooks/index.ipynb', 'repo_name': 'dlivingstone/IntroToPython', 'size': '1679'}