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
Gemiola [76]
3 years ago
5

Write a function named "total_population" that takes a string then a list as parameters where the string represents the name of

a CSV file containing city data in the format "CountryCode,CityName,Region,Population,Latitude,Longitude" and the second parameter is a list where each element is itself a list containing 3 strings as elements representing the CountryCode, CityName, and Region in this order. Return the total population of all cities in the list. Note that the city must match the country, name, and region to ensure that the correct city is being read.
Engineering
1 answer:
adelina 88 [10]3 years ago
5 0

Answer:

Return the total population of all cities in the list.

Explanation:

It is for every element in cityinfo. It works not only for one array but multiple.

I attached the document with the code or function with the name import cvs becuase when I wrote it down and it sent a message written on red about inappropriate words.

Download docx
You might be interested in
Can you guys please introduce yourself​
EleoNora [17]

Answer: why?

Explanation:

6 0
3 years ago
Read 2 more answers
How wold you classify the earliest examples of S.T.E.M discoveries provided in this lesson?
Gnoma [55]

Answer:

the answer is C

Explanation:

8 0
3 years ago
A 35 ft long solid steel rod is subjected to a load of 8,000 lb. This load causes the rod to stretch 0.266 in. The modulus of el
solong [7]

Answer:

53.67

Explanation:

3 0
3 years ago
2. The moist weight of 0.1 ft3 of soil is 12.2 lb. If the moisture content is 12% and the specific gravity of soil solids is 2.7
adell [148]

The answers to dry unit weight, void ratio, porosity, degree of saturation, volume occupied by water are respectively;

γ_d = 108.93 lb/ft³; e = 0.56; n = 0.36; S = 0.58; V_w = 0.021 ft³

<h3>Calculation of Volume and Weight of soil</h3>

We are given;

Moist weight; W = 12.2 lb

Volume of moist soil; V = 0.1 ft³

moisture content; w = 12% = 0.12

Specific gravity of soil solids; G_s = 2.72

A) Formula for dry unit weight is;

γ_d = γ/(1 + w)

where γ_w is moist unit weight as;

γ_w = W/V

γ_w = 122/0.1 = 122 lb/ft³

Thus;

γ_d = 122/(1 + 0.12)

γ_d = 108.93 lb/ft³

B) Formula for void ratio is;

e = [(G_s * γ_w)/γ_d] - 1

e = [(2.72 * 122)/108.93] - 1

e = 0.56

C) Formula for porosity is;

n = e/(1 + e)

n = 0.56/(1 + 0.56)

n = 0.36

D) Formula for degree of saturation is;

S = (w * G_s)/e

S = (0.12 * 2.72)/0.56

S = 0.58

E) Volume occupied by water is gotten from;

V_w = S*V_v

where;

V_v is volume of voids = nV

V_v = 0.36*0.1

V_v = 0.036 ft³

Thus;

V_w = 0.58 * 0.036

V_w = 0.021 ft³

Read more about Specific Gravity of Soil at; brainly.com/question/14932758

4 0
2 years ago
hree large plates are separated bythin layers of ethylene glycol and water. The top plate moves to the right at 2m/s. At what sp
MakcuM [25]

Answer: For the center plate to remain stationed in one position without rotating, the bottom plate has to move to the left at a speed of 2m/s, so as to cancel the force acting on it from the top.

The center plate will not move when the bottom plate is moving left in a speed of 2m/s to counter the speed of the top plate, because a body will continue to be at rest if all the forces acting towards the body are equal. The center plate will be at rest because we have directed equal force from the top and bottom of the plate.

3 0
3 years ago
Other questions:
  • Where are revolved sections placed in a print? A) in between break lines B) cutting planes are used to identify their locations
    12·1 answer
  • When circuit switching is used, what is the maximum number of circuit-switched users that can be supported? Explain your answer
    6·1 answer
  • Use the convolutional integral to find the response of an LTI system with impulse response ℎ(????) and input x(????). Sketch the
    8·1 answer
  • Consider a simple ideal Rankine cycle and an ideal regenerative Rankine cycle with one open feedwater heater. The two cycles are
    15·1 answer
  • Which career related to architecture deals with the planning of entire cities and focuses on designing and arranging buildings,
    9·2 answers
  • A flame ionization detector, which is often used in gas chromatography, responds to a change in
    12·1 answer
  • Which of the following best describes a central idea of the text?
    10·1 answer
  • What friction rate should be used to size a duct for a static pressure drop of 0.1 in wc if the duct has a total equivalent leng
    9·1 answer
  • The two types of outlets that are found in an electrical system are:______
    7·1 answer
  • 8th grade safety test
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!