Exercise 02 Solution
Written on 24.01.2023 15:31 by Paul Zhu
We have uploaded a sample solution for Exercise 02, you can find it in the category Solutions under Information > Material. You can find your points for this exercise on your Personal Status page.
The solution package includes:
1. A reference implementation (idb.py)
2. The test function (evaluate_02_func.py)
3. The testcases and some explanations on how we grade your code (testcases.py)
If you didn't receive 10 points (full mark), you will find a feedback (download the .txt file) which reports the errors. When in doubt, test your implementation against the test commands (provided in the solution package) and compare that with the expected outputs produced by the reference implementation. Contact us if there is something wrong in the reported errors so we will double check them.