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]
4 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]4 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
Air is compressed steadily from 100kPa and 20oC to 1MPa by an adiabatic compressor. If the mass flow rate of the air is 1kg/s an
igomit [66]

Answer:

(a). 575 kJ/kg.

(b). 290kw.

Explanation:

We have the following set of information or parameters from the question above;

Pressure(1) = 100kPa, Pressure (2) = 1MPa, temperature(1) = b1= 12°C = 285K = 285kJ/kg, efficiency = 80% and the mass flow rate of the air = 1kg/s.

At a temperature of 12°C, we have the value from steam table; gx= 1.2, thus gx22 = 1.2 × (1000/100) = 12.

We have that the value for b12 = 517.

Therefore, the value for h2a can be calculated as;

80/100 = (517 - 285)/ (tp at exist) - 285.

0.8 = 232/ (tp at exist) - 285.

232 = 0.8 × (tp at exist) - 285).

232 = 0.8 (tp at exist) - 228 .

(tp at exist) = 575.

Therefore, the temperature 575 kJ/kg.

Thus, the required power input of the compressor = 1kg/s × ( 575 - 285) = 290kw.

6 0
3 years ago
A gas at 1650C and 0.96 atm enters a plug flow reactor that converts 91% of the material. What is the amount of gas (in units of
yawa3891 [41]
I’d trying using photomath or tigermath
3 0
4 years ago
In a planetary geartrain with a form factor of 8, the sun gear rotates clockwise at 5 rad⁄s and the ring gear rotates clockwise
lina2011 [118]

Answer:

D. N= 11. 22 rad/s (CW)

Explanation:

Given that

Form factor R = 8

Speed of sun gear = 5 rad/s (CW)

Speed of ring gear = 12 rad/s (CW)

Lets take speed of carrier gear is N

From Algebraic method ,the relationship between speed and form factor given as follows

\dfrac{N_{sun}-N}{N_{ring}-N}=-R

here negative sign means that ring and sun gear rotates in opposite direction

Lets take CW as positive and ACW as negative.

Now by putting the values

\dfrac{N_{sun}-N}{N_{ring}-N}=-R

\dfrac{5-N}{12-N}=-8

N= 11. 22 rad/s (CW)

So the speed of carrier gear is 11.22 rad/s clockwise.

8 0
3 years ago
What engine does the mercedes 500e have​
Strike441 [17]

Answer:

5.0 m119

Explanation:

It has the 5.o m119 v8 engine which produced 322 bhp.

5 0
3 years ago
4. What is the best explanation of electric current in a wiRe 100+ PTS
yKpoI14uk [10]

Answer:

The best explanation of 'electric current' in a wire can be defined as Electron flow because of 'electrical attraction and repulsion'. Explanation: Current can be defined as the flow of electrons. When the electron charges get attracted and the current flow happens.

Explanation:

Can I get Brainiest

5 0
3 years ago
Read 2 more answers
Other questions:
  • Design a notch filter to remove the 60Hz from us.
    14·1 answer
  • How do i get my camera to work in the app, i just got a new phone and it won’t pull up the camera
    14·1 answer
  • Find the Hooke's law of orthotropic and transverse isotropic material in matrix form
    15·1 answer
  • Need answers for these please ​
    15·1 answer
  • Several different loads are going to be used with the voltage divider from Part A. If the load resistances are 300 kΩkΩ , 200 kΩ
    7·1 answer
  • Hydrogen gas (density = 1.165 kg/m^3 ) is stored at 25°C in a permeable cylindrical container which has an outer diameter of 0.2
    11·1 answer
  • Please write the following code in Python 3. Also please show all output(s) and share your code.
    10·1 answer
  • A 550 kJ of heat quantity needed to increase water temperature from 32°C to 80°C. Calculate the mass
    8·1 answer
  • Gawain 2 talasalitaan
    11·1 answer
  • If a mineral fractures, how many directions of cleavage does it have?
    14·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!