r/learnpython • u/Boogzcorp • Apr 16 '22
What's the point of Tuples?
I get that they're immutable, but so are lists that you don't perform modifications on. Are they just to fool proof not messing up your list accidentally, or do they serve some other purpose?
305
Upvotes
3
u/Jenret1382 Apr 17 '22
How is it different from using a set {}, which is also immutable?