On Mon, May 6, 2013 at 3:39 PM, 88888 Dihedral <dihedral88...@googlemail.com> wrote: > Bradley Wright於 2013年5月6日星期一UTC+8上午8時59分15秒寫道: >> def fizz_cout(x): >> >> count = 0 >> >> for item in x: >> >> while item == "fizz": >> >> count += 1 >> > >> return count >> > This is not indented right in the scope to return > the total count.
Wow. You know a question's been asked frequently when even the bots can learn to answer it correctly. ChrisA -- http://mail.python.org/mailman/listinfo/python-list