> The only time year is bound is in the previous loop, as I said.  It's the
> line that goes:
>     name, year = line.strip.....
>
> So year is whatever it was the last time through that loop.

OK, this makes sense. Indeed that is the value in the last entry for
the dictionary. Thanks a lot again.

Josep M.
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to