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.
Your comment on this answer:
Email me at this address if a comment is added after mine:
Email me if a comment is added after mine
Privacy: Your email address will only be used for sending these notifications.
Related questions
0
votes
Q: What is the difference between list and tuple in Python?
asked
May 16, 2020
in
Python
by
Robindeniel
#python-tuple
#python-list
#list-python
#tuple-python
Python-questions-answers
0
votes
Q: Can you please clarify what is the key distinction between a rundown and the tuple?
asked
Aug 29, 2020
in
Python
by
Robindeniel
#python-tuple
Python-questions-answers
0
votes
Q: Can you please explain what is a tuple in Python Language?
asked
Aug 30, 2020
in
Python
by
sharadyadav1986
#python-tuple
#tuple-python-language
Python-questions-answers
0
votes
Q: What is Python tuple?
asked
Dec 12, 2019
in
Python
by
rajeshsharma
#python-tuple
Python-questions-answers
0
votes
Q: What is the difference between list and tuple?
asked
Dec 31, 2020
in
Python
by
SakshiSharma
#list-vs-tuple
Python-questions-answers
+1
vote
Q: What is the difference between tuple and dictionary?
asked
Feb 13, 2021
in
Python
by
SakshiSharma
#python
tuple
dictionary
tuple-vs-dictionary
Python-questions-answers
0
votes
Q: What Are The Principal Differences Between The Lambda And Def?
asked
Dec 14, 2019
in
Python
by
sharadyadav1986
#python-principal
Python-questions-answers
0
votes
Q: What is the difference between list and tuples?
asked
Jun 11, 2020
in
Python
by
Robindeniel
#python-list
#python-tuples
#list-vs-tuples
Python-questions-answers
0
votes
Q: What Is A Tuple In Python?
asked
Dec 19, 2019
in
Python
by
sharadyadav1986
#tuple-python
Python-questions-answers
+1
vote
Q: Which of the following options could be used in the tuple object?
asked
Jul 11, 2021
in
Python
by
rajeshsharma
tuple
python3
Python-questions-answers
...