4/13 A day at the Supermarket indent help


#1

This is my code. I keep getting an indent error on return.

def fizz_count(x):
count = 0
for item in x:
if item == "fizz":
count = count + 1
return count

need help please.


#2

In Python, you indent with 4 spaces after a colon. Example:

def function():
    for i in hi:
        if i == "pie":
            return "Pie Is Yums"
        else:
            return "No pie here. :("