Dec 14, 2019 in Python
Q: What Is The Principal Difference Between A List And The Tuple?

1 Answer

0 votes
Dec 14, 2019
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.
Click here to read more about Python
Click here to read more about Insurance

Related questions

0 votes
Dec 31, 2020 in Python