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?
310
Upvotes
View all comments
Show parent comment
10
u/Almostasleeprightnow Apr 16 '22
Wow that's kind of cool...almost like a multi dimensional dictionary where you don't have to deal with nested loops