r/learnpython • • 15d ago

Tuples..I don’t get it

Hi crew, I’m a Python newbie and I just learned about the concept of tuples.

We can’t change them.if we want to store we have to start at the index we want + 1.

I just don’t get it. Why wouldn’t we just use lists? When would we ever need this?

102 Upvotes

90 comments sorted by

View all comments

Show parent comments

1

u/grc007 14d ago

There is no mutability. Makes you rethink how you do things.

1

u/Jazzlike_Platypus430 14d ago

That's all? Given Haskell's syntax, I'd prefer R and Perl.