I need help with my code please!
I keep getting this error -
Oops, try again. median() returned  instead of 1
Replace this line with your code. def median(stuff): sorted(stuff) for things in stuff: num = len(stuff) if num % 2 != 0: while len(stuff) > 1: stuff -= min(things) stuff -= max(things) return stuff elif num % 2 == 0: while len(stuff) > 2: stuff -= min(things) stuff -= max(things) return stuff average = (things + things) / 2.0 return average