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

1 Answer

0 votes
by
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.

Related questions

0 votes
0 votes
asked Dec 31, 2020 in Python by SakshiSharma
0 votes
asked Dec 19, 2019 in Python by sharadyadav1986
...