> Except that in the OP's example foo was a sequence, not an > integer. I think.
Yes, possibly. But then, what's "from 2 to foo"? this way it might be for a in [2] + foo: print a -- http://mail.python.org/mailman/listinfo/python-list
> Except that in the OP's example foo was a sequence, not an > integer. I think.
Yes, possibly. But then, what's "from 2 to foo"? this way it might be for a in [2] + foo: print a -- http://mail.python.org/mailman/listinfo/python-list