im learning python using codecademy, and got stuck on this?
these are the instructions:
Write a function called fizz_count that takes a list x as input and returns the count of the string “fizz” in that list.
For example, fizz_count(["fizz","buzz","fizz"]) should return 2. (Make sure your function returns the number instead of printing it.) Check out the Hint if you need help!
i know how to define the function, but am stuck after that?