Not sure what my error is?
In my console:
Check your indentation. Code inside the block should be indented.
I have tried different indentations for this line and none seem to make it work.
def function(x): count = 0 for item ... if item ... count += 1 return ...
Thanks! Your indentations make sense!!!
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.