1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Tanzania [10]
3 years ago
5

Python lists are commonly used to store data types. Lists are a collection of information typically called a container. Think of

a physical container that can hold all kinds of objects, not just one object of the same type. Python includes a built-in list type called a list. They can be managed by many built-in functions that help fill, iterate over, add to, and delete a list. Why is it useful to store information with different data types?
Engineering
1 answer:
PSYCHO15rus [73]3 years ago
3 0

Answer:

Explained

Explanation:

Data Type specifies the processor how much amount of memory to be reserved for  a variable.

For example :If a variable is declared as String or Integer this tells the processor  to stored this much of space for this variable to store the value.

List :

1.List is sort of an array used to store values of different data types

2.Lists are ordered .Element in the list are elements in a list are indexed according to a definite sequence and placed at a specific index.Lists can hold different data types.

Here is an example of List ,List = ['a', 1,'b',4,[a,b,c,1]

1. Dictionary is an dis ordered collection of data values, used to store data values .

2.Dictionary is for key,value maps , Keys of a Dictionary are (should be ) unique and of immutable data type such as Strings, Integers and tuples.

Dict = {1: 'Apple', 2: 'Boy', 3:'God',4:[1, 2, 3, 4]}

Each unique key holds a value.  So it depends on the requirement or scenarios where we have to chose between list or dictionary

You might be interested in
A manometer consists of an inclined glass tube which communicates with a metal cylinder standing upright; liquid fills the appar
Vanyuwa [196]

Answer:

48.61

Explanation:

See attached diagram.

The level rise in the tube is l sin α.

The level drop in the cylinder (let's call it y) is:

π/4 D² y = π/4 d² l

D² y = d² l

y = l (d/D)²

The elevation difference is the sum:

l sin α + l (d/D)²

l (sin α + (d/D)²)

From Bernoulli's principle:

P = ρgl (sin α + (d/D)²)

Divide both sides by density of water (ρw) and gravity:

P/(ρw g) = (ρ/ρw) l (sin α + (d/D)²)

h = S l (sin α + (d/D)²)

If we disregard the level change in the cylinder:

h = S l (sin α)

We want the percent error between these two expressions for h to be 0.1% when α = 25°.

[ S l (sin α + (d/D)²) − S l (sin α) ] / [ S l (sin α + (d/D)²) ] = 0.001

[ S l sin α + S l (d/D)² − S l sin α ] / [ S l (sin α + (d/D)²) ] = 0.001

[ S l (d/D)² ] / [ S l (sin α + (d/D)²)]  = 0.001

(d/D)² / (sin α + (d/D)²) = 0.001

(d/D)² = 0.001 (sin α + (d/D)²)

(d/D)² = 0.001 sin α + 0.001 (d/D)²

0.999 (d/D)² = 0.001 sin α

d/D = √(0.001 sin α / 0.999)

When α = 25°:

d/D ≈ 0.02057

D/d ≈ 48.61

7 0
3 years ago
Application 1: Consider the following beam under combined loading of a distributed pressure and applied bending moment. Complete
Ivan

Answer:

Explanation:

kindly check he attached file below

7 0
4 years ago
Be-16 a garbage dumping placard must be prominently posted on boats longer than what size?
Crank

Answer:

26 feet and longer boats that have garbage dumping placard must be prominently posted and the boats which are 40 feet and longer must have the written waste management plan.

4 0
3 years ago
Vacancy diffusion statement refer to that a mechanism that
belka [17]

Answer:

true

Explanation:

4 0
3 years ago
What kind of abilities are needed to run a business
nordsb [41]

Answer:

Essential business skills:

1. Financial management. Being able to effectively manage your finances is critical. ...

2. Marketing, sales and customer service. ...

3. Communication and negotiation. ...

4. Leadership. ...

5. Project management and planning. ...

6. Delegation and time management. ...

7. Problem solving. ...

8. Networking.

8 0
3 years ago
Other questions:
  • Using a forked rod, a 0.5-kg smooth peg P is forced to move along the vertical slotted path r = (0.5 θ) m, whereθ is in radians.
    13·1 answer
  • 99 POINTS!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    15·2 answers
  • Which of the following identifies the three main steps in the design process of an engineer?
    13·1 answer
  • A gas cylinder is connected to a manometer that contains water. The other end of the manometer is open to the atmosphere, which
    12·1 answer
  • Prompt the user to enter five numbers, being five people's weights. Store the numbers in an array of doubles. Output the array's
    11·2 answers
  • Which of the following is a task involved in the Design and Pre-Construction pathway?
    6·1 answer
  • Give me some examples of fragile structures.
    5·1 answer
  • What is the least count of screw gauge?<br> (a) 0.01 cm<br> (b) 0.001 cm<br> (c) 0.1 cm<br> (d) 1 mm
    13·1 answer
  • Metric wire size is measured in units of?
    11·1 answer
  • During gait the body is gaining speed:____.
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!