What error do you get?
if you have
median([4, 5, 5, 4]) i suspect your code might not work. the two middle values are 4 and 5, which is 9 in total, divided by 2 will give 4 as a result
python rounds down to the nearest integer, so the division should contain a float to prevent this
Next time, you make a topic please include the error message. Preferable also your code and the exercise url, so we can debug your code in the lesson
I think that should be the problem. Thanks and sorry for the inconvenience. Will include it in my questions in the future.
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.