From 1ee63daeb9179a5c286a3862724df19b241f1f5a Mon Sep 17 00:00:00 2001 From: Alexander Hess Date: Mon, 8 Apr 2024 17:27:53 +0200 Subject: [PATCH] Rename exercise notebooks more clearly Add a short title/description into the filename of a notebook holding exercises. In the past, students often did not find the exercise files right away in class. --- ...ises.ipynb => 01_exercises_markdown.ipynb} | 0 ...ercises.ipynb => 01_exercises_print.ipynb} | 0 ...ses.ipynb => 02_exercises_for-loops.ipynb} | 0 ...es.ipynb => 04_exercises_calculator.ipynb} | 0 ...ipynb => 01_exercises_sphere-volume.ipynb} | 0 ...ses.ipynb => 01_exercises_discounts.ipynb} | 0 ...ses.ipynb => 02_exercises_fizz-buzz.ipynb} | 0 ....ipynb => 01_exercises_hanoi-towers.ipynb} | 0 ...xercises.ipynb => 04_exercises_dice.ipynb} | 0 ...s.ipynb => 01_exercises_palindromes.ipynb} | 0 ...ercises.ipynb => 02_exercises_lists.ipynb} | 0 ...es.ipynb => 04_exercises_un-packing.ipynb} | 0 ...ises.ipynb => 02_exercises_outliers.ipynb} | 0 ...es.ipynb => 03_exercises_un-packing.ipynb} | 0 ...s.ipynb => 01_exercises_nested-data.ipynb} | 0 ...ses.ipynb => 03_exercises_fibonacci.ipynb} | 0 ...exercises.ipynb => 01_exercises_tsp.ipynb} | 0 CONTENTS.md | 68 +++++++++---------- 18 files changed, 34 insertions(+), 34 deletions(-) rename 00_intro/{01_exercises.ipynb => 01_exercises_markdown.ipynb} (100%) rename 01_elements/{01_exercises.ipynb => 01_exercises_print.ipynb} (100%) rename 01_elements/{02_exercises.ipynb => 02_exercises_for-loops.ipynb} (100%) rename 01_elements/{04_exercises.ipynb => 04_exercises_calculator.ipynb} (100%) rename 02_functions/{01_exercises.ipynb => 01_exercises_sphere-volume.ipynb} (100%) rename 03_conditionals/{01_exercises.ipynb => 01_exercises_discounts.ipynb} (100%) rename 03_conditionals/{02_exercises.ipynb => 02_exercises_fizz-buzz.ipynb} (100%) rename 04_iteration/{01_exercises.ipynb => 01_exercises_hanoi-towers.ipynb} (100%) rename 04_iteration/{04_exercises.ipynb => 04_exercises_dice.ipynb} (100%) rename 06_text/{01_exercises.ipynb => 01_exercises_palindromes.ipynb} (100%) rename 07_sequences/{02_exercises.ipynb => 02_exercises_lists.ipynb} (100%) rename 07_sequences/{04_exercises.ipynb => 04_exercises_un-packing.ipynb} (100%) rename 08_mfr/{02_exercises.ipynb => 02_exercises_outliers.ipynb} (100%) rename 08_mfr/{03_exercises.ipynb => 03_exercises_un-packing.ipynb} (100%) rename 09_mappings/{01_exercises.ipynb => 01_exercises_nested-data.ipynb} (100%) rename 09_mappings/{03_exercises.ipynb => 03_exercises_fibonacci.ipynb} (100%) rename 11_classes/{01_exercises.ipynb => 01_exercises_tsp.ipynb} (100%) diff --git a/00_intro/01_exercises.ipynb b/00_intro/01_exercises_markdown.ipynb similarity index 100% rename from 00_intro/01_exercises.ipynb rename to 00_intro/01_exercises_markdown.ipynb diff --git a/01_elements/01_exercises.ipynb b/01_elements/01_exercises_print.ipynb similarity index 100% rename from 01_elements/01_exercises.ipynb rename to 01_elements/01_exercises_print.ipynb diff --git a/01_elements/02_exercises.ipynb b/01_elements/02_exercises_for-loops.ipynb similarity index 100% rename from 01_elements/02_exercises.ipynb rename to 01_elements/02_exercises_for-loops.ipynb diff --git a/01_elements/04_exercises.ipynb b/01_elements/04_exercises_calculator.ipynb similarity index 100% rename from 01_elements/04_exercises.ipynb rename to 01_elements/04_exercises_calculator.ipynb diff --git a/02_functions/01_exercises.ipynb b/02_functions/01_exercises_sphere-volume.ipynb similarity index 100% rename from 02_functions/01_exercises.ipynb rename to 02_functions/01_exercises_sphere-volume.ipynb diff --git a/03_conditionals/01_exercises.ipynb b/03_conditionals/01_exercises_discounts.ipynb similarity index 100% rename from 03_conditionals/01_exercises.ipynb rename to 03_conditionals/01_exercises_discounts.ipynb diff --git a/03_conditionals/02_exercises.ipynb b/03_conditionals/02_exercises_fizz-buzz.ipynb similarity index 100% rename from 03_conditionals/02_exercises.ipynb rename to 03_conditionals/02_exercises_fizz-buzz.ipynb diff --git a/04_iteration/01_exercises.ipynb b/04_iteration/01_exercises_hanoi-towers.ipynb similarity index 100% rename from 04_iteration/01_exercises.ipynb rename to 04_iteration/01_exercises_hanoi-towers.ipynb diff --git a/04_iteration/04_exercises.ipynb b/04_iteration/04_exercises_dice.ipynb similarity index 100% rename from 04_iteration/04_exercises.ipynb rename to 04_iteration/04_exercises_dice.ipynb diff --git a/06_text/01_exercises.ipynb b/06_text/01_exercises_palindromes.ipynb similarity index 100% rename from 06_text/01_exercises.ipynb rename to 06_text/01_exercises_palindromes.ipynb diff --git a/07_sequences/02_exercises.ipynb b/07_sequences/02_exercises_lists.ipynb similarity index 100% rename from 07_sequences/02_exercises.ipynb rename to 07_sequences/02_exercises_lists.ipynb diff --git a/07_sequences/04_exercises.ipynb b/07_sequences/04_exercises_un-packing.ipynb similarity index 100% rename from 07_sequences/04_exercises.ipynb rename to 07_sequences/04_exercises_un-packing.ipynb diff --git a/08_mfr/02_exercises.ipynb b/08_mfr/02_exercises_outliers.ipynb similarity index 100% rename from 08_mfr/02_exercises.ipynb rename to 08_mfr/02_exercises_outliers.ipynb diff --git a/08_mfr/03_exercises.ipynb b/08_mfr/03_exercises_un-packing.ipynb similarity index 100% rename from 08_mfr/03_exercises.ipynb rename to 08_mfr/03_exercises_un-packing.ipynb diff --git a/09_mappings/01_exercises.ipynb b/09_mappings/01_exercises_nested-data.ipynb similarity index 100% rename from 09_mappings/01_exercises.ipynb rename to 09_mappings/01_exercises_nested-data.ipynb diff --git a/09_mappings/03_exercises.ipynb b/09_mappings/03_exercises_fibonacci.ipynb similarity index 100% rename from 09_mappings/03_exercises.ipynb rename to 09_mappings/03_exercises_fibonacci.ipynb diff --git a/11_classes/01_exercises.ipynb b/11_classes/01_exercises_tsp.ipynb similarity index 100% rename from 11_classes/01_exercises.ipynb rename to 11_classes/01_exercises_tsp.ipynb diff --git a/CONTENTS.md b/CONTENTS.md index 46e16ce..cd8228b 100644 --- a/CONTENTS.md +++ b/CONTENTS.md @@ -35,8 +35,8 @@ If this is not possible, JupyterLab; Programming vs. Computer Science; Learning Tips) - - [exercises ](https://nbviewer.jupyter.org/github/webartifex/intro-to-python/blob/develop/00_intro/01_exercises.ipynb) - [](https://mybinder.org/v2/gh/webartifex/intro-to-python/develop?urlpath=lab/tree/00_intro/01_exercises.ipynb) + - [exercises ](https://nbviewer.jupyter.org/github/webartifex/intro-to-python/blob/develop/00_intro/01_exercises_markdown.ipynb) + [](https://mybinder.org/v2/gh/webartifex/intro-to-python/develop?urlpath=lab/tree/00_intro/01_exercises_markdown.ipynb) (Mastering Markdown) - [review questions ](https://nbviewer.jupyter.org/github/webartifex/intro-to-python/blob/develop/00_intro/02_review.ipynb) - **Part A: Expressing Logic** @@ -47,11 +47,11 @@ If this is not possible, Operators; Objects & Data Types; Errors) - - [exercises ](https://nbviewer.jupyter.org/github/webartifex/intro-to-python/blob/develop/01_elements/01_exercises.ipynb) - [](https://mybinder.org/v2/gh/webartifex/intro-to-python/develop?urlpath=lab/tree/01_elements/01_exercises.ipynb) + - [exercises ](https://nbviewer.jupyter.org/github/webartifex/intro-to-python/blob/develop/01_elements/01_exercises_print.ipynb) + [](https://mybinder.org/v2/gh/webartifex/intro-to-python/develop?urlpath=lab/tree/01_elements/01_exercises_print.ipynb) (Printing Output) - - [exercises ](https://nbviewer.jupyter.org/github/webartifex/intro-to-python/blob/develop/01_elements/02_exercises.ipynb) - [](https://mybinder.org/v2/gh/webartifex/intro-to-python/develop?urlpath=lab/tree/01_elements/02_exercises.ipynb) + - [exercises ](https://nbviewer.jupyter.org/github/webartifex/intro-to-python/blob/develop/01_elements/02_exercises_for-loops.ipynb) + [](https://mybinder.org/v2/gh/webartifex/intro-to-python/develop?urlpath=lab/tree/01_elements/02_exercises_for-loops.ipynb) (Simple `for`-loops) - [content ](https://nbviewer.jupyter.org/github/webartifex/intro-to-python/blob/develop/01_elements/03_content.ipynb) [](https://mybinder.org/v2/gh/webartifex/intro-to-python/develop?urlpath=lab/tree/01_elements/03_content.ipynb) @@ -59,8 +59,8 @@ If this is not possible, Variables & References; Mutability; Expressions & Statements) - - [exercises ](https://nbviewer.jupyter.org/github/webartifex/intro-to-python/blob/develop/01_elements/04_exercises.ipynb) - [](https://mybinder.org/v2/gh/webartifex/intro-to-python/develop?urlpath=lab/tree/01_elements/04_exercises.ipynb) + - [exercises ](https://nbviewer.jupyter.org/github/webartifex/intro-to-python/blob/develop/01_elements/04_exercises_calculator.ipynb) + [](https://mybinder.org/v2/gh/webartifex/intro-to-python/develop?urlpath=lab/tree/01_elements/04_exercises_calculator.ipynb) (Python as a Calculator) - [summary ](https://nbviewer.jupyter.org/github/webartifex/intro-to-python/blob/develop/01_elements/05_summary.ipynb) - [review questions ](https://nbviewer.jupyter.org/github/webartifex/intro-to-python/blob/develop/01_elements/06_review.ipynb) @@ -74,8 +74,8 @@ If this is not possible, Function Calls & Scoping Rules; Positional vs. Keyword Arguments; Modularization) - - [exercises ](https://nbviewer.jupyter.org/github/webartifex/intro-to-python/blob/develop/02_functions/01_exercises.ipynb) - [](https://mybinder.org/v2/gh/webartifex/intro-to-python/develop?urlpath=lab/tree/02_functions/01_exercises.ipynb) + - [exercises ](https://nbviewer.jupyter.org/github/webartifex/intro-to-python/blob/develop/02_functions/01_exercises_sphere-volume.ipynb) + [](https://mybinder.org/v2/gh/webartifex/intro-to-python/develop?urlpath=lab/tree/02_functions/01_exercises_sphere-volume.ipynb) (Volume of a Sphere) - [content ](https://nbviewer.jupyter.org/github/webartifex/intro-to-python/blob/develop/02_functions/02_content.ipynb) [](https://mybinder.org/v2/gh/webartifex/intro-to-python/develop?urlpath=lab/tree/02_functions/02_content.ipynb) @@ -92,11 +92,11 @@ If this is not possible, Logical Operators; `if` statement; Exception Handling) - - [exercises ](https://nbviewer.jupyter.org/github/webartifex/intro-to-python/blob/develop/03_conditionals/01_exercises.ipynb) - [](https://mybinder.org/v2/gh/webartifex/intro-to-python/develop?urlpath=lab/tree/03_conditionals/01_exercises.ipynb) + - [exercises ](https://nbviewer.jupyter.org/github/webartifex/intro-to-python/blob/develop/03_conditionals/01_exercises_discounts.ipynb) + [](https://mybinder.org/v2/gh/webartifex/intro-to-python/develop?urlpath=lab/tree/03_conditionals/01_exercises_discounts.ipynb) (Discounting Customer Orders) - - [exercises ](https://nbviewer.jupyter.org/github/webartifex/intro-to-python/blob/develop/03_conditionals/02_exercises.ipynb) - [](https://mybinder.org/v2/gh/webartifex/intro-to-python/develop?urlpath=lab/tree/03_conditionals/02_exercises.ipynb) + - [exercises ](https://nbviewer.jupyter.org/github/webartifex/intro-to-python/blob/develop/03_conditionals/02_exercises_fizz-buzz.ipynb) + [](https://mybinder.org/v2/gh/webartifex/intro-to-python/develop?urlpath=lab/tree/03_conditionals/02_exercises_fizz-buzz.ipynb) (Fizz Buzz) - [summary ](https://nbviewer.jupyter.org/github/webartifex/intro-to-python/blob/develop/03_conditionals/03_summary.ipynb) - [review questions ](https://nbviewer.jupyter.org/github/webartifex/intro-to-python/blob/develop/03_conditionals/04_review.ipynb) @@ -108,8 +108,8 @@ If this is not possible, Duck Typing; Type Casting & Checking; Input Validation) - - [exercises ](https://nbviewer.jupyter.org/github/webartifex/intro-to-python/blob/develop/04_iteration/01_exercises.ipynb) - [](https://mybinder.org/v2/gh/webartifex/intro-to-python/develop?urlpath=lab/tree/04_iteration/01_exercises.ipynb) + - [exercises ](https://nbviewer.jupyter.org/github/webartifex/intro-to-python/blob/develop/04_iteration/01_exercises_hanoi-towers.ipynb) + [](https://mybinder.org/v2/gh/webartifex/intro-to-python/develop?urlpath=lab/tree/04_iteration/01_exercises_hanoi-towers.ipynb) (Towers of Hanoi) - [content ](https://nbviewer.jupyter.org/github/webartifex/intro-to-python/blob/develop/04_iteration/02_content.ipynb) [](https://mybinder.org/v2/gh/webartifex/intro-to-python/develop?urlpath=lab/tree/04_iteration/02_content.ipynb) @@ -120,8 +120,8 @@ If this is not possible, [](https://mybinder.org/v2/gh/webartifex/intro-to-python/develop?urlpath=lab/tree/04_iteration/03_content.ipynb) (Customizing Loops with `break` and `continue`; Indefinite Loops) - - [exercises ](https://nbviewer.jupyter.org/github/webartifex/intro-to-python/blob/develop/04_iteration/04_exercises.ipynb) - [](https://mybinder.org/v2/gh/webartifex/intro-to-python/develop?urlpath=lab/tree/04_iteration/04_exercises.ipynb) + - [exercises ](https://nbviewer.jupyter.org/github/webartifex/intro-to-python/blob/develop/04_iteration/04_exercises_dice.ipynb) + [](https://mybinder.org/v2/gh/webartifex/intro-to-python/develop?urlpath=lab/tree/04_iteration/04_exercises_dice.ipynb) (Throwing Dice) - [summary ](https://nbviewer.jupyter.org/github/webartifex/intro-to-python/blob/develop/04_iteration/05_summary.ipynb) - [review questions ](https://nbviewer.jupyter.org/github/webartifex/intro-to-python/blob/develop/04_iteration/06_review.ipynb) @@ -162,8 +162,8 @@ If this is not possible, Indexing & Slicing; String Methods & Operations; String Interpolation) - - [exercises ](https://nbviewer.jupyter.org/github/webartifex/intro-to-python/blob/develop/06_text/01_exercises.ipynb) - [](https://mybinder.org/v2/gh/webartifex/intro-to-python/develop?urlpath=lab/tree/06_text/01_exercises.ipynb) + - [exercises ](https://nbviewer.jupyter.org/github/webartifex/intro-to-python/blob/develop/06_text/01_exercises_palindromes.ipynb) + [](https://mybinder.org/v2/gh/webartifex/intro-to-python/develop?urlpath=lab/tree/06_text/01_exercises_palindromes.ipynb) (Detecting Palindromes) - [content ](https://nbviewer.jupyter.org/github/webartifex/intro-to-python/blob/develop/06_text/02_content.ipynb) [](https://mybinder.org/v2/gh/webartifex/intro-to-python/develop?urlpath=lab/tree/06_text/02_content.ipynb) @@ -187,8 +187,8 @@ If this is not possible, Indexing & Slicing; Shallow vs. Deep Copies; List Methods & Operations) - - [exercises ](https://nbviewer.jupyter.org/github/webartifex/intro-to-python/blob/develop/07_sequences/02_exercises.ipynb) - [](https://mybinder.org/v2/gh/webartifex/intro-to-python/develop?urlpath=lab/tree/07_sequences/02_exercises.ipynb) + - [exercises ](https://nbviewer.jupyter.org/github/webartifex/intro-to-python/blob/develop/07_sequences/02_exercises_lists.ipynb) + [](https://mybinder.org/v2/gh/webartifex/intro-to-python/develop?urlpath=lab/tree/07_sequences/02_exercises_lists.ipynb) (Working with Lists) - [content ](https://nbviewer.jupyter.org/github/webartifex/intro-to-python/blob/develop/07_sequences/03_content.ipynb) [](https://mybinder.org/v2/gh/webartifex/intro-to-python/develop?urlpath=lab/tree/07_sequences/03_content.ipynb) @@ -196,8 +196,8 @@ If this is not possible, `tuple` Type; Packing & Unpacking; `*args` in Function Definitions) - - [exercises ](https://nbviewer.jupyter.org/github/webartifex/intro-to-python/blob/develop/07_sequences/04_exercises.ipynb) - [](https://mybinder.org/v2/gh/webartifex/intro-to-python/develop?urlpath=lab/tree/07_sequences/04_exercises.ipynb) + - [exercises ](https://nbviewer.jupyter.org/github/webartifex/intro-to-python/blob/develop/07_sequences/04_exercises_un-packing.ipynb) + [](https://mybinder.org/v2/gh/webartifex/intro-to-python/develop?urlpath=lab/tree/07_sequences/04_exercises_un-packing.ipynb) (Packing & Unpacking with Functions) - [appendix ](https://nbviewer.jupyter.org/github/webartifex/intro-to-python/blob/develop/07_sequences/05_appendix.ipynb) [](https://mybinder.org/v2/gh/webartifex/intro-to-python/develop?urlpath=lab/tree/07_sequences/05_appendix.ipynb) @@ -217,11 +217,11 @@ If this is not possible, `generator` Expression; Streams of Data; Boolean Reducers) - - [exercises ](https://nbviewer.jupyter.org/github/webartifex/intro-to-python/blob/develop/08_mfr/02_exercises.ipynb) - [](https://mybinder.org/v2/gh/webartifex/intro-to-python/develop?urlpath=lab/tree/08_mfr/02_exercises.ipynb) + - [exercises ](https://nbviewer.jupyter.org/github/webartifex/intro-to-python/blob/develop/08_mfr/02_exercises_outliers.ipynb) + [](https://mybinder.org/v2/gh/webartifex/intro-to-python/develop?urlpath=lab/tree/08_mfr/02_exercises_outliers.ipynb) (Removing Outliers in Streaming Data) - - [exercises ](https://nbviewer.jupyter.org/github/webartifex/intro-to-python/blob/develop/08_mfr/03_exercises.ipynb) - [](https://mybinder.org/v2/gh/webartifex/intro-to-python/develop?urlpath=lab/tree/08_mfr/03_exercises.ipynb) + - [exercises ](https://nbviewer.jupyter.org/github/webartifex/intro-to-python/blob/develop/08_mfr/03_exercises_un-packing.ipynb) + [](https://mybinder.org/v2/gh/webartifex/intro-to-python/develop?urlpath=lab/tree/08_mfr/03_exercises_un-packing.ipynb) (Packing & Unpacking with Functions, continued) - [content ](https://nbviewer.jupyter.org/github/webartifex/intro-to-python/blob/develop/08_mfr/04_content.ipynb) [](https://mybinder.org/v2/gh/webartifex/intro-to-python/develop?urlpath=lab/tree/08_mfr/04_content.ipynb) @@ -237,15 +237,15 @@ If this is not possible, Hash Tables; `dict` Methods & Behavior; `dict` Comprehension) - - [exercises ](https://nbviewer.jupyter.org/github/webartifex/intro-to-python/blob/develop/09_mappings/01_exercises.ipynb) - [](https://mybinder.org/v2/gh/webartifex/intro-to-python/develop?urlpath=lab/tree/09_mappings/01_exercises.ipynb) + - [exercises ](https://nbviewer.jupyter.org/github/webartifex/intro-to-python/blob/develop/09_mappings/01_exercises_nested-data.ipynb) + [](https://mybinder.org/v2/gh/webartifex/intro-to-python/develop?urlpath=lab/tree/09_mappings/01_exercises_nested-data.ipynb) (Working with Nested Data) - [content ](https://nbviewer.jupyter.org/github/webartifex/intro-to-python/blob/develop/09_mappings/02_content.ipynb) [](https://mybinder.org/v2/gh/webartifex/intro-to-python/develop?urlpath=lab/tree/09_mappings/02_content.ipynb) (`**kwargs` in Function Definitions; Memoization) - - [exercises ](https://nbviewer.jupyter.org/github/webartifex/intro-to-python/blob/develop/09_mappings/03_exercises.ipynb) - [](https://mybinder.org/v2/gh/webartifex/intro-to-python/develop?urlpath=lab/tree/09_mappings/03_exercises.ipynb) + - [exercises ](https://nbviewer.jupyter.org/github/webartifex/intro-to-python/blob/develop/09_mappings/03_exercises_fibonacci.ipynb) + [](https://mybinder.org/v2/gh/webartifex/intro-to-python/develop?urlpath=lab/tree/09_mappings/03_exercises_fibonacci.ipynb) (Memoization without Side Effects) - [content ](https://nbviewer.jupyter.org/github/webartifex/intro-to-python/blob/develop/09_mappings/04_content.ipynb) [](https://mybinder.org/v2/gh/webartifex/intro-to-python/develop?urlpath=lab/tree/09_mappings/04_content.ipynb) @@ -271,8 +271,8 @@ If this is not possible, Text Representations; Instance Methods vs. Class Methods; Computed Properties) - - [exercises ](https://nbviewer.jupyter.org/github/webartifex/intro-to-python/blob/develop/11_classes/01_exercises.ipynb) - [](https://mybinder.org/v2/gh/webartifex/intro-to-python/develop?urlpath=lab/tree/11_classes/01_exercises.ipynb) + - [exercises ](https://nbviewer.jupyter.org/github/webartifex/intro-to-python/blob/develop/11_classes/01_exercises_tsp.ipynb) + [](https://mybinder.org/v2/gh/webartifex/intro-to-python/develop?urlpath=lab/tree/11_classes/01_exercises_tsp.ipynb) (A Traveling Salesman Problem) - [content ](https://nbviewer.jupyter.org/github/webartifex/intro-to-python/blob/develop/11_classes/02_content.ipynb) [](https://mybinder.org/v2/gh/webartifex/intro-to-python/develop?urlpath=lab/tree/11_classes/02_content.ipynb)