Can tuples be replaced with lists all the time?

Ashish Panchal ashish.u.panchal at googlemail.com
Sun Mar 2 07:05:14 EST 2014


No, not always. You can use yuples as dictionary key as keys are immutable
and you can't use it as list.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20140302/81ee4d23/attachment.html>


More information about the Python-list mailing list