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
Discuss the impact of the changing urban center. Include the impacts on political, economic, and social roles and opportunities.
KengaRu [80]

Answer:

The 21st century world have been earmarked with great influx of people to the urban centre,the notion of gender equality and female education have also made most traditional roles in the family changing.Before now,wives we're known for their full independence on their husband who is considered the bread winner.

Inspite of the growth of of the urban centre the availability of resources have dwindled,resulting in the surge of unemployment in many urban centre,the political entity of the society which is the government have serious challenging in managing the various threat posed by overpopulation, unemployment results in the decrease of standard of living of person and family,to cater for this family have to change their roles,wives now work to support the husband.

Explanation:

6 0
3 years ago
A 35kg block of mass is subjected to forces F1=100N and F2=75N at agive angle thetha= 20° and 35° respectively.find the distance
Talja [164]

Answer:

21 m

Explanation:

Since F₁ = 100 N and acts at an angle of 20° to the horizontal, it has horizontal component F₁' = 100cos20° = 93.97 N and vertical component F₁" = 100sin20° = 34.2 N.

Also, F₂ = 75 N and acts at an angle of -35° to the horizontal, it has horizontal component F₂' = 75cos(-35°) = 75cos35° = 61.44 N and vertical component F₂" = 75sin(-35°) = -75sin35° = -43.02 N

The resultant horizontal force F₃' = F₁' + F₂' = 93.97 N + 61.44 N = 155.41 N

The resultant vertical force F₃" = F₁" + F₂" = 34.2 N - 43.02 N = -8.82 N

If f is the frictional force on the block, the net horizontal force on the block is F = F₃' - f.

Since f = μN where μ = coefficient of kinetic friction = 0.4 and N = normal force on the block.

For the block to be in contact with the surface, the vertical forces on the block must balance.

Since the normal force, N must equal the resultant vertical force F₃" and the weight, W = mg of the object for a zero net vertical force,

N = mg + F₃" (since both the weight and the resultant vertical force act downwards)

N = mg + F₃"

Since m = mass of block = 35 kg and g = acceleration due to gravity = 9.8 m/s² and F₃" = 8.82 N

So,

N = mg + F₃"

N = 35 kg × 9.8 m/s² + 8.82 N

N = 343 N + 8.82 N

N = 351.82 N

So, the net horizontal force F = F₃' - f.

F = 155.41 N - 0.4 × 351.82 N

F = 155.41 N - 140.728 N

F = 14.682 N

Since F = ma, where a = acceleration of block,

a = F/m = 14.682 N/35 kg = 0.42 m/s²

To find the distance the block moved, x we use the equation

x = ut + 1/2at² where u = initial speed of block = 0 m/s, t = time = 10 s and a = acceleration of block = 0.42 m/s²

Substituting the values of the variables into the equation, we have

x = ut + 1/2at²

x = 0 m/s × 10 s + 1/2 × 0.42 m/s² × (10 s)²

x = 0 m + 1/2 × 0.42 m/s² × 100 s²

x = 0.21 m/s² × 100 s²

x = 21 m

So, the distance moved by the block is 21 m.

4 0
3 years ago
Calculate the differential pressure in kPa across the hatch of a submarine 320m below the surface of the sea. Assume the atmosph
kicyunya [14]

Answer:

The pressure difference across hatch of the submarine is 3217.68 kpa.

Explanation:

Gauge pressure is the pressure above the atmospheric pressure. If we consider gauge pressure for finding pressure differential then no need to consider atmospheric pressure as they will cancel out. According to hydrostatic law, pressure varies in the z direction only.  

Given:

Height of the hatch is 320 m

Surface gravity of the sea water is 1.025.

Density of water 1000 kg/m³.

Calculation:

Step1

Density of sea water is calculated as follows:

S.G=\frac{\rho_{sw}}{\rho_{w}}

Here, density of sea water is\rho_{sw}, surface gravity is S.G and density of water is \rho_{w}.

Substitute all the values in the above equation as follows:

S.G=\frac{\rho_{sw}}{\rho_{w}}

1.025=\frac{\rho_{sw}}{1000}

\rho_{sw}=1025 kg/m³.

Step2

Difference in pressure is calculated as follows:

\bigtriangleup p=rho_{sw}gh

\bigtriangleup p=1025\times9.81\times320

\bigtriangleup p=3217680 pa.

Or

\bigtriangleup p=(3217680pa)(\frac{1kpa}{100pa})

\bigtriangleup p=3217.68 kpa.

Thus, the pressure difference across hatch of the submarine is 3217.68 kpa.

6 0
3 years ago
According to the amortization table, Demarco and Tanya will pay a total of in interest over the life of their loan.
Ymorist [56]

Answer:

(Interest rate/number of payments)*$170000= interest for the first month.

Interest amounts for all the months of repayment plus $170000=Total loan cost

Explanation:

Interest is the amount you pay for taking a loan from a bank on top of the original amount borrowed.

Factors affecting how much interest is paid are; the principal amount, the loan terms, repayment schedule, the repayment amount and the rate of interest.

The interest paid=(rate of interest/number of payments to make)*principal amount borrowed.

You divide the interest with number of payments done in a year where monthly are divided by 12.Multiplying it by loan balance in the first month which is your principal amount gives the interest rate to pay for that month.

You new loan balance will be= Principal -(repayment-interest)

Do this for the period the loan should take.

Add all the interest amount to original borrowed amount to get total cost of the loan after the period of time.

8 0
3 years ago
Read 2 more answers
Today I meant to look for my missing watch, but I could never find the time.
xxMikexx [17]

Answer:

haha i get it

Explanation:

5 0
3 years ago
Read 2 more answers
Other questions:
  • A copper wire of original diameter .80 m exhibits a maximum tensile load/ strength at an engineering stress= 248.2 mpa. its duct
    11·1 answer
  • I don't understand this I am really bad at measurements
    12·2 answers
  • What is a magnitute?
    5·2 answers
  • The ventilating fan of the bathroom of a building has a volume flow rate of 32 L/s and runs continuously. If the density of air
    7·1 answer
  • Michelle is the general manager of a power plant. This morning, she will meet with city officials to discuss environmental issue
    5·1 answer
  • A hollow, spherical shell with mass 2.00kg rolls without slipping down a slope angled at 38.0?.
    15·1 answer
  • if you help then I will thank u by sooo much I will give tons of points but the answer has to be right.
    14·2 answers
  • Think about the KIA factory shown in the video, what are two things that managers could do to reduce waste or increase efficienc
    6·1 answer
  • Periodic lubrication and oil changes according to manufacturer’s recommendations extend the life of your vehicle, and allow you
    15·1 answer
  • The sum of forces on node 2 (upper-left) is ______.
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!