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

2p + 8 = 20-P 2p + 8 + p = 20-p+p 3p + 8 = 20 what’s the value of p ?
Planet Fitness charges a $10 per month plus a one-time membership fee of $55. a.) Write a linear equation for the situation where x is the number of months and
Can someone help me please I’ll mark brainliest The rate of change is $__mile
Please help!!!! Quick!!! Explain how you got your answer
Mitosis produces: (check all that apply!)
I need help ASAP it’s the one with the distributive property
"Not like those in the Chinese part of the city: a jumble of rickety shops with people, vegetables, crates of quacking ducks, yard goods, bamboo baskets, and ma
A sandwich shop has 60 stores and 60% of the stores are in California. The rest of the stores are in Nevada. How many stores are in California and how many are
2) What is the smallest number of bags that Sergei can buy to get the amount of flour he needs?
After Jonas shares his dream with his family, what does his mother describe it as? What is it called? What is their treatment for them?-The Giver​