It's throwing me an error saying that my function is returning 4 instead of 4.5 for this example: median([4, 5, 5, 4])

I expected a 4.5 because I backtested this in an IDE and it gave me back the correct answer.

```
def median(array):
newArray = sorted(array)
if len(newArray) % 2 == 0:
number = len(newArray)/2
number = int(number)
sum = newArray[number - 1] + newArray[number]
quotient = sum/2
return quotient
else:
number = (len(newArray) - 1)/2
number = int(number)
return newArray[number]
```