Hey guys. first post on this forum so go easy on me haha. Basically im stuck on this exercise and cant quite understand why its not working. Any help would be greatly appreciated
Oops, try again. median() returned  instead of 1
def median(numbers): numbers=sorted([numbers]) length=len(numbers) for num in numbers: if length==1: return numbers elif length%2!=0: return length/2 else: return (((length/2)-1)+(length/2))//2.