When I run the code below, I get the proper number response (it returns "1") for my sequence and Item, but I'm having an issue figuring out the error below.
ERROR: 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 "unsupported operand type(s) for /: 'str' and 'str'" error.
def count(sequence, item): total = 0 for i in sequence: if item == i: total += i/i return total print count([1,2,3,1,2,1], 1)