franciscobbinah43
franciscobbinah43 franciscobbinah43
  • 20-08-2020
  • Computers and Technology
contestada

when will you need to use a tuple data structure rather than a list of data structure​

Respuesta :

AddedApp
AddedApp AddedApp
  • 01-09-2020

Answer:

They can always be easily promoted to named tuples. Likewise, if the collection is going to be iterated over, I prefer a list. If it's just a container to hold multiple objects as one, I prefer a tuple. The first thing you need to decide is whether the data structure needs to be mutable or not

Answer Link

Otras preguntas

When graphing c=12, would you use an closed circle or opened circle?
Name two triangles that are congruent by ASA.
I don't know this please help me no links
Why did many African American vote for Kennedy?
Match each transaction with the appropriate journal in which it should be recorded.a. Sales journalb. Purchases journalc. Cash receipts journald. Cash disbursem
2 ways India and South Africa’s paths to independence were the same and 2 ways they were different.
Can anybody help me with this problem?
Why do people mix up weather and climate?
Who is speaker in the story Monkeys Paw?
You purchased five August 13 futures contracts on soybeans at a price quote of 1056′6. Each contract is for 5,000 bushels with the price quoted in cents and 1/8