Skip to content

Commit a706229

Browse files
committed
Updates to increase readability and clarity. Plus list comprehensions intro.
1 parent 20d1655 commit a706229

27 files changed

Lines changed: 334 additions & 810 deletions

P1 Python Absolute Beginner/Module_1.0_Tutorials_START_HERE.ipynb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
}
1010
},
1111
"source": [
12-
"# Python Absolute Beginner Module 1: Introduction (P1M1)\n",
12+
"# Tutorial: Python Absolute Beginner Module 1: Introduction (P1M1)\n",
1313
"## Getting started with Python in Jupyter Notebooks\n",
1414
"- **Python 3 in Jupyter notebooks**\n",
1515
"- **`print()`**\n",
@@ -86,7 +86,7 @@
8686
},
8787
{
8888
"cell_type": "code",
89-
"execution_count": 1,
89+
"execution_count": null,
9090
"metadata": {
9191
"slideshow": {
9292
"slide_type": "subslide"
@@ -108,7 +108,7 @@
108108
},
109109
{
110110
"cell_type": "code",
111-
"execution_count": 3,
111+
"execution_count": null,
112112
"metadata": {},
113113
"outputs": [
114114
{
@@ -157,7 +157,7 @@
157157
},
158158
{
159159
"cell_type": "code",
160-
"execution_count": 5,
160+
"execution_count": null,
161161
"metadata": {},
162162
"outputs": [],
163163
"source": [

P1 Python Absolute Beginner/Module_1.1_Practice.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"collapsed": true
77
},
88
"source": [
9-
"# Module 1 Practice 1\n",
9+
"# P1M1 Module 1 Practice 1\n",
1010
"## Getting started with Python in Jupyter Notebooks\n",
1111
"### notebooks, comments, print(), type(), addition, errors and art\n",
1212
"\n",

P1 Python Absolute Beginner/Module_1.2_Required_Code.ipynb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
"collapsed": true
88
},
99
"source": [
10-
"# Module 1 Required Coding Activity \n",
11-
"Work through the Module 1 Tutorials and Practices prior to attempting this activity.\n",
10+
"# P1M1: Module 1 Required Coding Activity \n",
11+
"This is the \"required code\" activity. Work through the Module 1 Tutorials and Practices prior to attempting this activity.\n",
1212
"Notice that this activity is logically very similar to the Allergy Check activity in the practice module.\n",
1313
"Remmeber, you are not allowed to work with others on this code or post it in Teams for help.\n",
1414
"You can ask related questions about the practice module.\n",
@@ -17,7 +17,7 @@
1717
"\n",
1818
"| Some Assignment Requirements | \n",
1919
"|:-------------------------------| \n",
20-
"| **NOTE:** This program requires `print` output and using code syntax used in module 1 such as variable assignment, `input`, `in` keyword, `.lower()` or `.upper()` method | \n",
20+
"| **NOTE:** This program requires `print` output and using code syntax used in module 1 such as variable assignment, `input`, `in` keyword, `.lower()` or `.upper()` method. It also requires that your name be spelled out in the code of the code file that you submit. Dynamically capturing your name when the program runs and then having it display in the output is not enough. This is true of all other required code assignments too. | \n",
2121
"\n",
2222
"\n",
2323
"## Program: Name Check \n",

P1 Python Absolute Beginner/Module_2.0_Tutorials_Functions.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"cell_type": "markdown",
55
"metadata": {},
66
"source": [
7-
"# Absolute Beginner Module 2: Functions (P1M2)\n",
7+
"# P1M2: Absolute Beginner Module 2: Functions\n",
88
"## Functions Arguments & Parameters\n",
99
"- **Creating a simple Function with a parameter**\n",
1010
"- Exploring Functions with `return` values \n",

P1 Python Absolute Beginner/Module_2.1_Practice.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"cell_type": "markdown",
55
"metadata": {},
66
"source": [
7-
"# Module 2 Practice\n",
7+
"# P1M2:Module 2 Practice\n",
88
"## Functions Arguments & Parameters\n",
99
"<font size=\"5\" color=\"#00A0B2\" face=\"verdana\"> <B>Student will be able to</B></font> \n",
1010
"- **create functions with a parameter** \n",

P1 Python Absolute Beginner/Module_2.2_Required_Code.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"collapsed": true
88
},
99
"source": [
10-
"# Module 2 Required Coding Activity \n",
10+
"# P1M2: Module 2 Required Coding Activity\n",
1111
"\n",
1212
"| Requirements | \n",
1313
"|:-------------------------------| \n",

P1 Python Absolute Beginner/Module_3.0_Tutorials_Conditionals.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"cell_type": "markdown",
55
"metadata": {},
66
"source": [
7-
"# Module 3\n",
7+
"# P1M3: Module 3 Tutorials\n",
88
"## Conditionals \n",
99
"- **`if`, `else`, `pass`**\n",
1010
" - **Conditionals using Boolean String Methods**\n",

P1 Python Absolute Beginner/Module_3.1_Practice.ipynb

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@
44
"cell_type": "markdown",
55
"metadata": {},
66
"source": [
7-
"# Module 3 Practice 1\n",
8-
"## Conditionals \n",
9-
"<font size=\"5\" color=\"#00A0B2\" face=\"verdana\"> <B>Student will be able to</B></font> \n",
10-
"- **control code flow with `if`... `else` conditional logic** \n",
11-
" - using Boolean string methods (`.isupper(), .isalpha(), .startswith()...`) \n",
12-
" - using comparision (`>, <, >=, <=, ==, !=`) \n",
7+
"# P1M3: Module 3 Practice\n",
8+
"## Conditionals\n",
9+
"<font size=\"5\" color=\"#00A0B2\" face=\"verdana\"> <B>Student will be able to</B></font>\n",
10+
"- **control code flow with `if`... `else` conditional logic**\n",
11+
" - using Boolean string methods (`.isupper(), .isalpha(), .startswith()...`)\n",
12+
" - using comparision (`>, <, >=, <=, ==, !=`)\n",
1313
" - using Strings in comparisons \n",
1414
"\n",
1515
"## `if else`\n"

P1 Python Absolute Beginner/Module_3.2_Required_Code.ipynb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@
77
"collapsed": true
88
},
99
"source": [
10-
"# Module 3 Required Coding Activity \n",
10+
"# P1M3: Module 3 Required Coding Activity \n",
1111
"Introduction to Python Unit 1 \n",
1212
"\n",
13-
"This is an activity based on code similar to the Jupyter Notebook **`Practice_MOD03_1-4_IntroPy.ipynb`** and **`Practice_MOD03_1-5_IntroPy.ipynb`** which you may have completed as practice.\n",
13+
"This is an activity based on code similar to Tutorial and Practice code you should have completed already.\n",
1414
"\n",
1515
">This program requires the use of **`if, elif, else`**, and casting between strings and numbers. The program should use the various code syntax covered in module 3. \n",
1616
"> \n",
1717
">The program must result in print output using numeric input similar to that shown in the sample below.\n",
18-
">You must include your full name in the input prompt. See sample input below for more detail.\n",
18+
">You must include your full name in the input prompt (meaning it needs to be spelled out in the code file). See sample below for more detail.\n",
1919
"\n",
2020
"## Program: Cheese Order Function \n",
2121
"- define function with max, min, price, and order_amount parameters\n",

P1 Python Absolute Beginner/Module_4.0_Tutorials_Nested_Conditionals.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"cell_type": "markdown",
55
"metadata": {},
66
"source": [
7-
"# Absolute Beginner Module 4: Nested Ifs, While Loops (P1M4)\n",
7+
"# P1M4: Absolute Beginner Module 4: Nested Ifs, While Loops\n",
88
"## Nested Conditionals\n",
99
"- Nested Conditionals \n",
1010
"- Escape Sequence print formatting \"\\\\\"\n",

0 commit comments

Comments
 (0)