Find the bugExercise 1/7Elementary20 XP
The maximum of negative numbers
Task
The function should return the largest number in the list. For [-5, -2, -9], however, it returns 0. Select the faulty line.
You need to know
Your answer
Click the line with the bug.
Hints
Try it yourself first. Each hint reveals a little more - and lowers the reward a little.
Signed out, hints are free - but no XP is awarded either.
Solution
The solution unlocks after the last hint.