In this practice, you will write Python code to make a series of unit tests pass.
- Clone the repository.
- Change directory into the repository.
- Make sure you are running a version of Python 3.9.
- Install the
Pipfile
by runningpipenv install
. - Run
pytest
to run the tests.
- Manually test by running the file (for example,
python problem_01_list.py
). Before you run all the unit tests, use manual testing to compare your result with the expected result commented next to the print statements. - Run the tests by typing
pytest
. - Your objective is to implement the code in each of the following Python
modules so that when you run
pytest
, all tests pass. A green dot (.) next to the tests means that it passed a test.
- There are two
__pycache__
directories, one in the root of your project and one in thetest
subdirectory. Delete both of those__pycache__
directories. - ZIP your project directory.
- Submit it using the submit button.