What is a tuple for and how does it work in python?

Asked

Viewed 40 times

0

What is the ultimate goal of using a tuple? I already know the difference between a tuple and a list. I want to understand how the tuple works and what is its true purpose at the level of use.

  • 1

    Is it duplicate? http://answall.com/q/52799/101

  • 1

    Related: http://answall.com/q/165773/101

  • @bigown I mentioned precisely that I know the difference between them, and I even consulted those questions before... thanks anyway.

  • There in the accepted answer of the other question is: "From the conceptual point of view you should use tuples to assemble heterogeneous data structures [...]". Ready.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.