0 votes
in Python by
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
asked Dec 31, 2020 in Python by SakshiSharma
+1 vote
asked Jul 11, 2021 in Python by rajeshsharma
...