-
Exercise 16: – Use indexing to find the middle value in the `sortedFares` list.
Hi
I used med sorted fares for this exercise and my output was 43.8.
The solution utilises sortedFares [`long$(count sortedFares)%2] with an output of 43.9.
The solution formula also appears to look like a median calculation. Can anyone advise why they differ and why the solution answer is the accurate one pls? Thanks
Log in to reply.