What's wrong with my code? - "It's OK to be Avg"


Not sure what I'm doing wrong here. I'm also drunk.


Here's the error message. Guessing I messed up in that I wrote the function to take names vs. taking in "lists of numbers" as indicated by the instructions?


you can acces list elements using integers
for example given a list

numbers = [5,10,15,20]

i can access the first element and multiply it by two like this

print numbers[0]* 2 #10

only ints can go in those [] brackets