in Python by
What Is The Principal Difference Between A List And The Tuple?

1 Answer

0 votes
List Vs. Tuple.

The principal difference between a list and the tuple is that the former is mutable while the tuple is not.

A tuple is allowed to be hashed, for example, using it as a key for dictionaries.