median

for some reason my line 9 return command keeps saying syntax error..

shouldnt the return command close the function and then its done?

```
Replace this line with your code.
def median(lists):
list_sorted = sorted(lists)
median = 0
if len(list_sorted) % 2 == 0:
median = (list_sorted(len(list_sorted)/2.0) + (list_sorted(len(list_sorted)/2.0)-1))/2.0
return (median)
elif len(list_sorted) % 2 != 0:
median = (list_sorted(len(list_sorted)/2.0)
return (median)
```