You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: exercises/concept/guidos-gorgeous-lasagna/.docs/instructions.md
+11-7Lines changed: 11 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,7 +27,7 @@ Implement the `bake_time_remaining()` function that takes the actual minutes the
27
27
28
28
## 3. Calculate preparation time in minutes
29
29
30
-
Implement the `preparation_time_in_minutes()` function that takes the number of layers you want to add to the lasagna as an argument and returns how many minutes you would spend making them.
30
+
Implement the `preparation_time_in_minutes(number_of_layers)` function that takes the number of layers you want to add to the lasagna as an argument and returns how many minutes you would spend making them.
31
31
Assume each layer takes 2 minutes to prepare.
32
32
33
33
```python
@@ -38,7 +38,7 @@ Assume each layer takes 2 minutes to prepare.
38
38
39
39
## 4. Calculate total elapsed cooking time (prep + bake) in minutes
40
40
41
-
Implement the `elapsed_time_in_minutes()` function that has two parameters: `number_of_layers` (_the number of layers added to the lasagna_) and `elapsed_bake_time` (_the number of minutes the lasagna has been baking in the oven_).
41
+
Implement the `elapsed_time_in_minutes(number_of_layers, elapsed_bake_time)` function that has two parameters: `number_of_layers` (_the number of layers added to the lasagna_) and `elapsed_bake_time` (_the number of minutes the lasagna has been baking in the oven_).
42
42
This function should return the total number of minutes you've been cooking, or the sum of your preparation time and the time the lasagna has already spent baking in the oven.
43
43
44
44
```python
@@ -49,14 +49,18 @@ This function should return the total number of minutes you've been cooking, or
49
49
50
50
## 5. Update the recipe with notes
51
51
52
-
Go back through the recipe, adding notes in the form of function docstrings.
52
+
Go back through the recipe, adding "notes" in the form of function docstrings.
0 commit comments