"It's me" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] >I tried this and I got: > [(1, 'a'), (2, 'b'), (3, 'c')] > But if I change: > a=[1,2] > I got: > [(1, 'c')] > Why is that? I thought I should be getting: > [(1, 'a'),(2,'b')] > ?????
Cut and paste the actual input and output for an interactive session with a freshly started interpreter and perhaps we can answer for sure. Terry J. Reedy -- http://mail.python.org/mailman/listinfo/python-list