Pyhton PRACTICE MAKES PERFECT median problem


#1

this line:

med=(lst(len(lst)/2)+(lst((len(lst)/2)+1))/2

look at your parentheses, they do not match (number of closing vs opening parentheses)


#2

The error says it all, you need to make sure that the number of parentheses are an even number which is equal on both sides.

wrapper( inner_wrap[er ( inner_inner_wrapper() ) )


#3

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.