python for loop

andrew cooke andrew at
Wed Apr 1 03:13:05 CEST 2009

Lada Kugis wrote:
> I'm coming from fortran and
   *********** c ***********
> background so I'm certainly biased by
> them. But if you could explain one thing to me:

but this is exactly the same behaviour as the standard way of doing things
in c!

int a[5];
for (i = 0; i < 5; ++i) {
  a[i] = 0;

were you being honest about the c background?!


More information about the Python-list mailing list