Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #44805
| References | <ed7e2a6d-ad84-49b1-afae-6d1516fc1130@googlegroups.com> <3a5447e4-4f20-45bb-be22-cf820f2c7737@googlegroups.com> |
|---|---|
| Date | 2013-05-06 17:32 +1000 |
| Subject | Re: (Learner-here) Lists + Functions = headache |
| From | Chris Angelico <rosuav@gmail.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.1319.1367825546.3114.python-list@python.org> (permalink) |
On Mon, May 6, 2013 at 3:39 PM, 88888 Dihedral <dihedral88888@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
Back to comp.lang.python | Previous | Next — Previous in thread | Find similar | Unroll thread
(Learner-here) Lists + Functions = headache Bradley Wright <bradley.wright.biz@gmail.com> - 2013-05-05 17:59 -0700
Re: (Learner-here) Lists + Functions = headache alex23 <wuwei23@gmail.com> - 2013-05-05 18:21 -0700
Re: (Learner-here) Lists + Functions = headache Bradley Wright <bradley.wright.biz@gmail.com> - 2013-05-05 18:24 -0700
Re: (Learner-here) Lists + Functions = headache Bradley Wright <bradley.wright.biz@gmail.com> - 2013-05-05 18:30 -0700
Re: (Learner-here) Lists + Functions = headache Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-05-06 10:25 +0100
Re: (Learner-here) Lists + Functions = headache Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-05-06 01:31 +0000
Re: (Learner-here) Lists + Functions = headache Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-05-06 01:48 +0000
Re: (Learner-here) Lists + Functions = headache Terry Jan Reedy <tjreedy@udel.edu> - 2013-05-05 21:30 -0400
Re: (Learner-here) Lists + Functions = headache 88888 Dihedral <dihedral88888@googlemail.com> - 2013-05-05 22:39 -0700
Re: (Learner-here) Lists + Functions = headache Chris Angelico <rosuav@gmail.com> - 2013-05-06 17:32 +1000
csiph-web