05 Practice: Testing Functions
If you want to practice writing more Python code that uses this lesson’s concepts, do the following:
- Download the
practice.pyfile that contains three program functions named:fahr_from_cels,wind_chill, andheat_index. - Download the
test_practice.pyfile and write three test functions as described in theTODOcomments in the file. - Run your
test_practice.pyfile. If any of the tests fail, fix them until they all pass. - Compare your completed
test_practice.pyfile solution to thistest_practice_solution.pyfile.