<PLEASE USE THE FOLLOWING TEMPLATE TO HELP YOU CREATE A GREAT POST!>
<Below this line, add a link to the EXACT exercise that you are stuck at.>
<In what way does your code behave incorrectly? Include ALL error messages.>
On line 7 my code is returning an invalid syntax error when it was working before. Before however, it was returning the wrong number when it functioned.
<What do you expect to happen instead?>
I expected it to return the correct number.
if len(values) <= 1:
elif len(values) % 2 == 0:
return float((values[len(values)/2] + values[(len(values)/2)- 1]) / 2.0
elif len(values) % 2 != 0:
<do not remove the three backticks above>