Oops, try again. Does your count function take exactly two arguments: a list and an item to check against that list? Your code threw a "'int' object is not iterable" error.
Not sure how to fix this error. Do I need to add the number to the counter sequence too?
def count(sequence,item): counter =  for i in sequence: if i == item: counter += 1 else: counter = counter answer = int(counter) return answer print counter([1,2,3], 1)