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

Natalie finishes piano practice at 2:45 p.m. after practicing for 37 minutes. What time did Natalie’s practice start?
What effect of alcohol is short-term?
Order the expressions by choosing , or =
anyone know that can help me?
Exercise 6.11 presents the results of a poll evaluating support for a generic "National Health Plan" in the US in 2019, reporting that 55% of Independents are s
asking for this question again! please help
being a rectangle is a necessary condition for being a square
PLEASE HELP INEQUALITYS!!
What is the volume of a weather balloon that has 39 grams of helium with a density 0.017 g/mL?
Find the cube root three into 125a6