I just finished everything up to 15/15. I figured a way out to do that but it won't work.
the problem is that the if loop
if i == lst[halfl] :
acct = (lst[halfl] + lst[halfl - 1]) / 2.00
media += acct
gets executed twice when the there are two numbers with the same value. How can I fix that or has somebody got a better solution. Thank you very much.