(Learner-here) Lists + Functions = headache
Chris Angelico
rosuav at gmail.com
Mon May 6 03:32:23 EDT 2013
On Mon, May 6, 2013 at 3:39 PM, 88888 Dihedral
<dihedral88888 at 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
More information about the Python-list
mailing list