Home
Recent Q&A
Java
Cloud
JavaScript
Python
SQL
PHP
HTML
C++
Data Science
DBMS
Devops
Hadoop
Machine Learning
Azure
Blockchain
Devops
Ask a Question
What Is The Principal Difference Between A List And The Tuple?
Home
Python
What Is The Principal Difference Between A List And The Tuple?
0
votes
asked
Dec 14, 2019
in
Python
by
sharadyadav1986
What Is The Principal Difference Between A List And The Tuple?
#python-tuple
Python-questions-answers
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Dec 14, 2019
by
SakshiSharma
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.
...