This exercise comes with pre-written tests. Your task is to implement the required functions in main.py so that all tests pass.
- Read the docstrings above each function in
main.py. - Check the corresponding tests in
tests/test_main.pyto understand expected behavior. - Implement the functions exactly as described to satisfy the tests.
- Submit by creating a pull request.
- Use your name as the PR title/heading.
- Due Date: 13 Oct 2025