Hi,

In message "Re: Question: immutable strings as design goal?"
    on 03/08/20, "Hal E. Fulton" <hal9000 / hypermetrics.com> writes:

|So, then. How does Python's example work when
|you need the index also? Oh, it can be done,
|all right. Same as in Fortran.

There's enumerate().

  a = [1,2,3]
  for i,v in enumerate(a):
    print i, v

							matz.