diff --git a/exercises/Exercise 1a Local imports.md b/exercises/Exercise 1a Local imports.md index af80c27..3ef038f 100644 --- a/exercises/Exercise 1a Local imports.md +++ b/exercises/Exercise 1a Local imports.md @@ -2,7 +2,7 @@ #### Goal -Retrival practice in "basic" importing. +Retrieval practice in "basic" importing. #### Preparation @@ -28,7 +28,7 @@ pizza, drink = todays_special() ``` 1. Figure out what import statements are missing, either by visual inspection or - by running the code and seeing what does. Add the missing import statements at + by running the code and seeing what it does. Add the missing import statements at the top of the file. You may need to inspect the files in `src/italianfood/`. 2. Run `daily_menu.py`. Did it work? diff --git a/exercises/Exercise 1b Unprotected code.md b/exercises/Exercise 1b Unprotected code.md index 609ef60..f207fe5 100644 --- a/exercises/Exercise 1b Unprotected code.md +++ b/exercises/Exercise 1b Unprotected code.md @@ -10,13 +10,13 @@ Investigate what happens when importing from modules with "unprotected" code. #### Tasks -0. Create a file in the `src/` folder called `unprotectd_code.py`. +0. Create a file in the `src/` folder called `unprotected_code.py`. -1. Add a line in `unprotectd_code.py` that imports the `todays_special` function from `daily_menu.py`. +1. Add a line in `unprotected_code.py` that imports the `todays_special` function from `daily_menu.py`. -2. **BEFORE YOU EXECUTE THE FILE**. Discuss with your partner what you think will happen when you run `unprotectd_code.py`. +2. **BEFORE YOU EXECUTE THE FILE**. Discuss with your partner what you think will happen when you run `unprotected_code.py`. -3. Run `unprotectd_code.py`. Does your prediction match reality? +3. Run `unprotected_code.py`. Does your prediction match reality? 4. (optional, for those who know) Discuss with your partner: * Why did this behaviour occur? diff --git a/materials/part1_local_imports.pptx b/materials/part1_local_imports.pptx index 5bbaa9d..14e0bb6 100644 Binary files a/materials/part1_local_imports.pptx and b/materials/part1_local_imports.pptx differ diff --git a/materials/part4_accessibility.pptx b/materials/part4_accessibility.pptx index 632965a..7b53256 100644 Binary files a/materials/part4_accessibility.pptx and b/materials/part4_accessibility.pptx differ