Categories

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

1 Answer

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

Madanswer
Dec 14, 2019 in Python
Mar 3 in DevOps
Jun 28 in Python
...