change the stuff to list of tuples

anson aeze616 at cse.unsw.edu.au
Tue May 27 00:03:15 EDT 2003


Dear people,

  I have three lists:
   [1,2,3]
   ['a','b','c']
   ['d','e','f']

  How do I combine the list to become this (in one step if possible)?

   [(1,'a','d'),(2,'b','e'), (3,'c','f')]   

Thanks

zeallous




More information about the Python-list mailing list