Can tuples be replaced with lists all the time?

Sam lightaiyee at gmail.com
Sat Feb 22 23:06:13 EST 2014


My understanding of Python tuples is that they are like immutable lists. If this is the cause, why can't we replace tuples with lists all the time (just don't reassign the lists)? Correct me if I am wrong.



More information about the Python-list mailing list