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
+9-3Lines changed: 9 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -50,10 +50,16 @@ Assume each layer takes 2 minutes to prepare.
50
50
```
51
51
52
52
53
-
## 4. Calculate total elapsed cooking time (prep + bake) in minutes
53
+
## 4. Calculate total elapsed time (prepping + baking) in minutes
54
+
55
+
Define the `elapsed_time_in_minutes()` function that takes two parameters as arguments:
56
+
57
+
-`number_of_layers` (_the number of layers added to the lasagna_)
58
+
-`elapsed_bake_time` (_the number of minutes the lasagna has spent baking in the oven already_).
59
+
60
+
This function should return the total minutes you have been in the kitchen cooking — your preparation time layering +
61
+
the time the lasagna has spent baking in the oven.
54
62
55
-
Define the `elapsed_time_in_minutes()` function that takes two parameters as arguments: `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_).
56
-
This function should return the total number of minutes you have been cooking, or the sum of your preparation time and the time the lasagna has already spent baking in the oven.
0 commit comments