+1 vote
in Python by
What is the difference between tuple and dictionary?

1 Answer

0 votes
by

One major difference between a tuple and a dictionary is that dictionary is mutable while a tuple is not. Meaning the content of a dictionary can be changed without changing it’s identity, but in tuple that’s not possible.

Related questions

0 votes
asked Feb 11, 2021 in Python by SakshiSharma
0 votes
0 votes
asked Nov 8, 2022 in Swift by SakshiSharma
...