I seem to be having an odd issue with the median problem. It says that a list returns 4 instead of 4.5, though when I run the code in a different editor it seems return 4.5 and not 4. If you run the code below in the online interpreter at https://repl.it/languages/python3 it returns 4.5.
So I guess my question is why is this returning 4 on your interpreter and 4.5 on the other?
def median(numbers): number = sorted(numbers) if len(number) % 2 != 0: return (number[int(len(number) /2)]) else: return ((number[int(len(number) /2)]) + (number[int(len(number) /2 - 1)])) /2 print(median([4, 5, 5, 4]))