Path: csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder2.hal-mli.net!feeder.erje.net!eu.feeder.erje.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Neil Cerutti Newsgroups: comp.lang.python Subject: Re: Newbie questions on Python Date: 16 Apr 2013 17:16:17 GMT Organization: Norwich University Lines: 24 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: individual.net hZVsk3dDqGGSY2sAvc6eVA/uIrw7uoetFRHYVdXkZKqgH5/C9N Cancel-Lock: sha1:Z+6J34FfIgUrGeA9/RDUPRY3E5U= User-Agent: slrn/0.9.9p1/mm/ao (Win32) Xref: csiph.com comp.lang.python:43688 On 2013-04-16, Lele Gaifax wrote: > Neil Cerutti writes: > >> Imagine something like the following for loop taking place >> somewhere: >> >> for (int i = 2; i <= 0; --i) { >> fprintf(a[i]); >> } > > Neil most probably meant > > for (int i = 2; i >= 0; --i) { > fprintf(a[i]); > } > > where "fprintf" is actually a fictitious "do_something" function. > > ciao, lele. Thanks for the correction. -- Neil Cerutti