9
9
# These are the expected function names with details to help you get started solving the exercise.
10
10
# In general, they hint at expected functionality, along with expected input and return types.
11
11
#
12
- # However, you can completely clear out the stubs before you start coding, although we recommend that you keep
13
- # them, because they are already set up to work with the tests, which you can find in ./lasagna_test.py.
14
- # If the tests don't find the expected function names, they will throw import errors.
12
+ # However, you can completely clear out the stubs before you start coding. We recommend that
13
+ # you keep them, because they are already set up to work with the tests, which you can find in
14
+ # ./lasagna_test.py. If the tests don't find the expected names, they will throw import errors.
15
15
#
16
16
# ❗PLEASE NOTE❗ We are deviating a bit in this first exercise by asking you to practice defining
17
- # functions & docstrings. We give you one completed stub below (bake_time_remaining), but have omitted the stubs and
18
- # docstrings for the remaining two functions.
17
+ # functions & docstrings. We give you one completed stub below (bake_time_remaining), but have
18
+ # omitted the stubs and docstrings for the remaining two functions.
19
19
#
20
20
# We recommend copying the first stub + docstring, and then changing details like the function name
21
- # and docstring text to match what is asked for in the #TODO comments and instructions before getting started
22
- # with writing the code for each function body.
21
+ # and docstring text to match what is asked for in the #TODO comments and instructions.
22
+ # Once you have the correct stubs, you can get started with writing the code for each function body.
23
23
#
24
24
# ⭐ PS: You should remove explanation comment blocks like this one, and should also
25
25
# remove any comment blocks that start with #TODO (or our analyzer will nag you about them)
26
26
################################################################################################################
27
27
28
28
29
- # TODO: define the 'EXPECTED_BAKE_TIME' constant below.
29
+ #TODO: define the 'EXPECTED_BAKE_TIME' constant below.
30
30
31
31
32
- # TODO: consider defining a 'PREPARATION_TIME' constant
32
+ #TODO: consider defining a 'PREPARATION_TIME' constant
33
33
# equal to the time it takes to prepare a single layer.
34
34
35
35
36
- # TODO: Remove 'pass' and complete the 'bake_time_remaining()' function below.
36
+ #TODO: Remove 'pass' and complete the 'bake_time_remaining()' function below.
37
37
def bake_time_remaining ():
38
38
"""Calculate the bake time remaining.
39
39
@@ -48,11 +48,11 @@ def bake_time_remaining():
48
48
pass
49
49
50
50
51
- # TODO: Define the 'preparation_time_in_minutes()' function below.
51
+ #TODO: Define the 'preparation_time_in_minutes()' function below.
52
52
# Remember to add a docstring (you can copy and then alter the one from bake_time_remaining.)
53
53
# You might also consider using 'PREPARATION_TIME' here, if you have it defined.
54
54
55
55
56
56
57
- # TODO: define the 'elapsed_time_in_minutes()' function below.
57
+ #TODO: define the 'elapsed_time_in_minutes()' function below.
58
58
# Remember to add a docstring (you can copy and then alter the one from bake_time_remaining.)
0 commit comments