in Python by
Q:
What is the difference between list and tuple?

1 Answer

0 votes
by

The difference between list and tuple is that list is mutable while tuple is not. Tuple can be hashed for e.g as a key for dictionaries.

Click here to read more about Python
Click here to read more about Insurance

Related questions

0 votes
asked Jun 11, 2020 in Python by Robindeniel
0 votes
asked Mar 10, 2020 in C Plus Plus by rahuljain1
0 votes
asked Jan 1 in Python by SakshiSharma
0 votes
asked May 17, 2020 in Python by sharadyadav1986
0 votes
asked Dec 19, 2019 in Python by sharadyadav1986
0 votes
0 votes
...