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
.. You should
Darya [45]

Answer:

C.

Explanation:

You want to make sure it still works. You don't want to move it periodically though in case of an emergency.

5 0
3 years ago
Read 2 more answers
5. Which of these materials in a shop contain metals and toxins and can pollute the environment? A) Antifreeze B) Solvents C) Ba
Elza [17]
As a multiple choice the only correct answer is D
3 0
3 years ago
Read 2 more answers
You have been assigned the task of reviewing the relief scenarios for a specific chemical reactor in your plant. You are current
postnew [5]

Answer:

D=0.016m

Explanation:

From the question we are told that:

Discharge Rate F_r=0.5kgls

Pressure P=15Kpa

Temperature T=25=>298K

Ambient pressure is 1 atm.

Generally the equation for Density is mathematically given by

\rho=\frac{PM}{RT}

\rho=\frac{15*10^5*28.0134*10^{-3}}{8.314*298}

\rho=16.958kg/m^2

Generally the equation for Flow rate is mathematically given by

F_r=\mu A\sqrt{Q \rho P(\frac{2}{Q+1})^{\frac{Q+1}{Q-1}}}

Where

Q=Heat coefficient\ ratio\ of\ Nitrogen

Q=1.4

\mu= Discharge\ coefficient

\mu=0.68

Therefore

0.5=0.68 A\sqrt{1.4 16.958 15*10^{5}(\frac{2}{1.4+1})^{\frac{1.4+1}{1.4-1}}}

A=2.129*10^{-4}

Where

A=\frac{\pi}{4}D^2

\frac{\pi}{4}D^2=2.129*10^{-4}

D=0.016m

8 0
3 years ago
The net negative charge flowing through a device varies as q(t) = 2.2 t2 C. Find the current through the device at t = 0, 0.5, a
Leni [432]

Answer:

The current at t= 0 sec, is 0 A

The current at t= 0.5 sec, is 2.2 A

The current at t= 1 sec, is 4.4 A

Explanation:

Given that

q(t) = 2.2 t²

We know that:- the change in the charge w.r.t. time is known as current. So,

I=\dfrac{dq}{dt}

q(t) = 2.2 t²

\dfrac{dq}{dt}= 4.4 t

I= 4.4 t

1.

t = 0 s :

I = 4.4 x 0 = 0 A

<u>Therefore, the current at t= 0 sec, is 0 A</u>

2 .

t= 0.5 s :

I = 4.4 x 0.5 = 2.2 A

<u>Therefore, the current at t= 0.5 sec, is 2.2 A</u>

3.

t= 1 s

I = 4.4 x 1 =4.4 A

<u>Therefore, the current at t= 1 sec, is 4.4 A</u>

4 0
3 years ago
Digital information can be used to modulate an analog carrier wave. Like analog modulation, the carrier’s amplitude, frequency,
Fudgin [204]

Answer:

1) True, The carrier’s amplitude, frequency, and phase angle can be used to represent logical data (“1s” and “0s”).

Explanation:

6 0
3 years ago
Read 2 more answers
Other questions:
  • When encountering low visibility from rain or fog, you should use your ____.
    12·1 answer
  • The 15-kg block A slides on the surface for which µk = 0.3. The block has a velocity v = 10 m/s when it is s = 4 m from the 10-k
    7·1 answer
  • Use the APWA 5600 methodology to compute the 1/25 design discharge for the following catchment. The catchment area consists of 1
    9·1 answer
  • Water flows through a tee in a horizontal pipe system. The velocity in the stem of the tee is 15 f t/s, and the diameter is 12 i
    10·1 answer
  • Consider insulation on a circular pipe For the same thickness and type of insulation, the thermal resistance of the insulation i
    8·1 answer
  • The acceleration (in m/s^2) of a linear slider (undergoing rectilinear motion) within a If the machine can be expressed in terms
    5·1 answer
  • Draw a flowchart to represent the logic of a program that allows the user to enter values for the current year and the user’s bi
    14·1 answer
  • If Fred has already measured 14 inches of a table measuring 30 inches. How many inches does he need to measure more?
    15·1 answer
  • What is the maximum value of the bending stress at the critical cross-section?
    14·1 answer
  • Refrigerant-134a enters the expansion valve of a refrigeration system at 120 psia as a saturated liquid and leaves at 20 psia. D
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!