A collection of hand-written practice problems from yours truly <3.
How to use this repository:
First, clone it if you want:
$ git clone https://github.com/knightss27/cs141-study-guide.git
$ cd cs141-study-guide
- Try being a computer in evaluate.py
- Test your knowledge of arrays in arrays.py
- Polish up your dictionary skills in dictionaries.py
When you want to check your answers, read through the explanations in the relevant _solutions.py
file.
It is possible some example implementations are not perfect. They are meant to represent a common or obvious way of completing the problem, which would most likely pass you well on a test.
You can test your solutions by running (though this may be too strict)
pytest -v
You should also look over the test answers that are printed by un-commenting the short tests that are included in the _solutions.py
files.