Skip to content

Commit 0dfb681

Browse files
authored
[Guido's Gorgeous Lasagna] Update instructions.md (exercism#4132)
Clarified Docstring in task 5 per discussion in [forum](https://forum.exercism.org/t/guidos-gorgeous-lasagna-task-5-docstring-is-confusing/47323)
1 parent 4666008 commit 0dfb681

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

exercises/concept/guidos-gorgeous-lasagna/.docs/instructions.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,12 +80,11 @@ def elapsed_time_in_minutes(number_of_layers, elapsed_bake_time):
8080
"""Calculate the elapsed cooking time.
8181
8282
:param number_of_layers: int - the number of layers in the lasagna.
83-
:param elapsed_bake_time: int - elapsed cooking time.
84-
:return: int - total time elapsed (in minutes) preparing and cooking.
83+
:param elapsed_bake_time: int - time the lasagna has been baking in the oven.
84+
:return: int - total time elapsed (in minutes) preparing and baking.
8585
8686
This function takes two integers representing the number of lasagna layers and the
87-
time already spent baking and calculates the total elapsed minutes spent cooking the
88-
lasagna.
87+
time already spent baking the lasagna. It calculates the total elapsed minutes spent cooking (preparing + baking).
8988
"""
9089
```
9190

0 commit comments

Comments
 (0)