diff --git a/docs/resources/Workshops/Python/Python-Day2.ipynb b/docs/resources/Workshops/Python/Python-Day2.ipynb index c910c20..85171b3 100644 --- a/docs/resources/Workshops/Python/Python-Day2.ipynb +++ b/docs/resources/Workshops/Python/Python-Day2.ipynb @@ -61,7 +61,7 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "# Thinking algorithmically\n", + "## Thinking algorithmically\n", "\n", "Before we get started with learning about what a function in python is, how to define them, and how to control them, let's do some non-coding exercises to get in the mindset of thinking algorithmically. One of the major hurdles to writing your own functions or computer programs is changing the way you think to match the way a computer or coding language evaluates words. Much of the difficulty is ameliorated if we practice breaking down our problems into discrete chunks. Then, taking each chunk and putting it together.\n", "\n", @@ -97,7 +97,7 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "## Using boolean expressions and logical operators\n", + "### Using boolean expressions and logical operators\n", "\n", "A relational operator is some operator that evaluates to a truth value. For example, checking of two things are equal or identical, or checking if some item is contained in a list/grouping. These conditional expressions can then be combined with logical operators such as `and`, `or`, and `not`. They mostly work like you'd expect from natural language. However, just like with arithmetic, there's an order of operations. In python, relational operators are evaluated first, then `not`, then `and`, and finally `or`.\n", "\n", @@ -134,7 +134,7 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "## Navigating a maze\n", + "### Navigating a maze\n", "\n", "Imagine you are programming a robot to navigate a maze. You know that this maze can be navigated by following the \"right hand rule\", which is to always keep your right hand on the wall. The robot can move or look in four directions: up, down, left, and right. How would you give the robot instructions to navigate the maze?" ] @@ -168,7 +168,7 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "# Basic function syntax & variable scope\n", + "## Basic function syntax & variable scope\n", "\n", "Python has a variety of [built-in functions](https://docs.python.org/3/library/functions.html), but for everything else you might want to do, you will need to write your own. \n", "\n", @@ -377,14 +377,14 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "# Control flow" + "## Control flow" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ - "## If/else statements" + "### If/else statements" ] }, { @@ -686,7 +686,7 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "## For loops" + "### For loops" ] }, { @@ -980,7 +980,7 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "## While loops\n", + "### While loops\n", "\n", "A while loop is kind of like a generalized form of a for loop. It's used to repeat code until a condition is met. Think of it as a continuous if statement where \"if condition is true, do this code and then check the condition again\". While loops are helpful for when you don't know exactly how many iterations you will need to go through, but do have a definite end condition for the loop. Here's the syntax of a while loop:\n", "\n", @@ -1222,7 +1222,7 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "## Controlling behavior with break and continue" + "### Controlling behavior with break and continue" ] }, { @@ -2127,7 +2127,7 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "# General tips for writing functions" + "## General tips for writing functions" ] }, { diff --git a/requirements.txt b/requirements.txt index 250bb98..5b0ee43 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1,3 @@ mkdocs-material==9.4.* mkdocs-table-reader-plugin==2.0.* -mkdocs-jupyter==0.24.* +mkdocs-jupyter==0.24.7