05 Practice: Testing Functions

If you want to practice writing more Python code that uses this lesson’s concepts, do the following:

  1. Download the practice.py file that contains three program functions named: fahr_from_cels, wind_chill, and heat_index.
  2. Download the test_practice.py file and write three test functions as described in the TODO comments in the file.
  3. Run your test_practice.py file. If any of the tests fail, fix them until they all pass.
  4. Compare your completed test_practice.py file solution to this test_practice_solution.py file.