List--->Tuple?

Marko Balabanovic (marko@CS.Stanford.EDU)
4 Apr 1995 23:24:12 GMT

Is there an easy way to convert a list to a tuple?

I need something which will take [a,b,c] and output (a,b,c), so that I can then
use it as part of a dictionary key.

Marko

--------------------------------------------------------------------------
Marko Balabanovic Email: marko@CS.Stanford.EDU
Department of Computer Science, Stanford University, Stanford CA 94305 USA
Office: Laurel 103 Phone: (415) 725 8783 Fax: (415) 725 1449
URL: http://robotics.stanford.edu/people/marko/marko.html
--------------------------------------------------------------------------