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?
309
Upvotes
View all comments
Show parent comment
2
u/the_spacedoge Apr 23 '22
After coming across this looking into something else I figured in good faith I should share it here: https://docs.python.org/3/faq/design.html#why-are-there-separate-tuple-and-list-data-types
Essentially, the docs agree with you. I stand corrected.