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
Determine the total condensation rate of water vapor onto the front surface of a vertical plate that is 10 mm high and 1 m in th
castortr0y [4]

Answer:

Q =  63,827.5 W

Explanation:

Given:-

- The dimensions of plate A = ( 10 mm x 1 m )

- The fluid comes at T_sat , 1 atm.

- The surface temperature, T_s = 75°C  

Find:-

Determine the total condensation rate of water vapor onto the front surface of a vertical plate

Solution:-

- Assuming drop-wise condensation the heat transfer coefficient for water is given by Griffith's empirical relation for T_sat = 100°C.

                            h = 255,310 W /m^2.K

- The rate of condensation (Q) is given by Newton's cooling law:

                           Q = h*As*( T_sat - Ts )

                           Q = (255,310)*( 0.01*1)*( 100 - 75 )

                           Q =  63,827.5 W

8 0
3 years ago
Read 2 more answers
A liquid refrigerant (sg=1,2) is flowing at a weight flow rate of 20,9 N/h. Refrigerant flashes into a vapor and its specific we
Iteru [2.4K]

Answer:

Explanation:

volume of 20.9 N

= 20.9 / 11.5 m³

= 1.8174 m³

In one hour 1.8174 m³ flows

in one second volume flowing = 1.8174 / 60 x 60

= 5 x 10⁻⁴ m³

Rate of volume flow = 5 x 10⁻⁴ m³ / s .

5 0
3 years ago
If you stretch a rubber hose and pluck it, you can observe a pulse traveling up and down the hose. What happens to the speed of
stich3 [128]

Answer:

Explanation:if you stretch the hose more tightly the speed of the pulse will reduce..

5 0
2 years ago
When an electron in a valence band is raised to a conduction band by sufficient light energy, semiconductors start conducting __
garri49 [273]

Answer:

This band gap also allows semiconductors to convert light into electricity in photovoltaic cells and to emit light as LEDs when made into certain types of diodes. Both these processes rely on the energy absorbed or released by electrons moving between the conduction and valence bands.

Explanation:

On the internet

4 0
2 years ago
1. True/False The Pressure Relief valve maintains the minimum pressure in the hydraulic circuit​
elena55 [62]
Yeah it’s true. Good luck!!
3 0
3 years ago
Other questions:
  • Explain why the following acts lead to hazardous safety conditions when working with electrical equipmenta. Wearing metal ring o
    9·1 answer
  • Name 3 ways in which robots have improved since the Ebola outbreak.
    11·1 answer
  • Matthew wants to manufacture a large quantity of products with standardized products having less variety. Which type of producti
    5·1 answer
  • A refrigerator has a cooling load of 50 kW. It has a COP of 2. It is run by a heat engine which consumes 50 kW of heat to supply
    12·1 answer
  • Helium gas expands in a piston-cylinder in a polytropic process with n=1.67. Is the work positive, negative or zero?
    8·1 answer
  • 1 kg of oxygen is heated from 20 to 120°C. Determine the amount of heat transfer required when this is done during a (a) constan
    7·1 answer
  • Describe how a cavity wall works and sketch its major construction features. What aspects of cavity wall construction are most c
    5·1 answer
  • Could you please answer this question clearly?
    11·1 answer
  • How to clean a snowblower carburetor without removing it.
    11·1 answer
  • Contrast moral and immoral creativity and innovation<br>​
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!