Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #43679
| From | Lele Gaifax <lele@metapensiero.it> |
|---|---|
| Subject | Re: Newbie questions on Python |
| Date | 2013-04-16 18:06 +0200 |
| Organization | Nautilus Entertainments |
| References | <a6562e3b-29af-4953-bc8b-49fa634d1be7@googlegroups.com> <at59opFg036U1@mid.individual.net> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.671.1366128396.3114.python-list@python.org> (permalink) |
Neil Cerutti <neilc@norwich.edu> 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.
--
nickname: Lele Gaifax | Quando vivrò di quello che ho pensato ieri
real: Emanuele Gaifas | comincerò ad aver paura di chi mi copia.
lele@metapensiero.it | -- Fortunato Depero, 1929.
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Newbie questions on Python idkfaidkfaidkfa@gmail.com - 2013-04-16 08:20 -0700
Re: Newbie questions on Python Chris Angelico <rosuav@gmail.com> - 2013-04-17 01:30 +1000
Re: Newbie questions on Python Walter Hurry <walterhurry@lavabit.com> - 2013-04-16 21:40 +0000
Re: Newbie questions on Python Chris Angelico <rosuav@gmail.com> - 2013-04-17 07:53 +1000
Re: Newbie questions on Python Matt Jones <matt.walker.jones@gmail.com> - 2013-04-16 10:33 -0500
Re: Newbie questions on Python Neil Cerutti <neilc@norwich.edu> - 2013-04-16 15:41 +0000
Re: Newbie questions on Python Lele Gaifax <lele@metapensiero.it> - 2013-04-16 18:06 +0200
Re: Newbie questions on Python Neil Cerutti <neilc@norwich.edu> - 2013-04-16 17:16 +0000
csiph-web