Hands on: Debugging find_maxima #2
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This time you are given an (incomplete) implementation of a find_maxima function and some tests (5 test cases you encountered before, 8 new test cases which fail).
Your task is now to work with the tests and the debugger to find out what is going wrong using the pdb debugger and fix the implementation of the find_maxima function, so that the tests pass.
Setup
What to do