A lab experience demonstrating how to create simple tests using Python.
This experience is targeted at learners who are new to Python programming. After students complete this project, they should be able to:
- Write pure functions having no side effects
- Use assertions to confirm expectations
Handout code for this lab is provided in functions.py. Your task is to complete the functions specified such that they pass the included assert
tests. Finally, you will create your own functions along with your own tests.
The following resources may be helpful in completing this lab successfully: