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
Different metabolic control systems have different characteristic time scales for a control response to be achieved. Match the t
prisoha [69]

Answer:

a. Covalent modification = Seconds to minutes

b. Allosteric control = Milliseconds

c. Gene expression = Hours

Explanation:

Covalent modifications refer to the addition and/or removal of chemical groups by the action of particular enzymes such as methylases, acetylases, phosphorylases, phosphatases, etc. For example, histones are chromatin-associated proteins covalently modified by enzymes that add methyl groups (histone methylation), acetyl groups (histone acetylation), phosphate groups (histone phosphorylation), etc. Moreover, allosteric control, also known as allosteric regulation, is a type of regulation of the enzyme activity by binding an effector molecule (allosteric modulator) at a different site than the enzyme's active site, thereby triggering a conformational change on the enzyme upon binding of an effector. Finally, gene expression encompasses the cellular processes by which genetic information flows from genes to proteins (i.e., transcription >> translation). In metabolic pathways, enzymes that are able to catalyze irreversible reactions represent sites of control (for example, during glycolysis, pyruvate kinase is an enzyme that catalyzes an irreversible reaction, thereby serving as a control site). In turn, enzymatic activity is modulated by covalent modifications or reversible binding of allosteric effectors. Finally, metabolic pathways are also modulated by gene regulatory mechanisms that control the transcription of specific enzymes required for such pathways. During these processes, the times required for allosteric regulation, covalent modification (e.g., phosphorylation) and transcriptional control can be counted in milliseconds, seconds, and hours, respectively.

5 0
3 years ago
The diffusion coefficients for iron in nickel are given at two temperatures:T (K)D (m2/s)12739.4 × 10–1614732.4 × 10–14(a) Deter
hram777 [196]

Answer:

The diffusion coefficients for iron in nickel are given at two temperatures:

T (K)        1273          1473

D (m^{2}/s) 9.4 × 10^{-16}    2.4 × 10^{-14}

(a) Determine the values of Do and the activation energy Qd.

(b) What is the magnitude of D at 1100°C (1373 K)?

<em>A </em>

<em>The pre-exponential factor Do = 2.1 x </em>10^{-16}<em></em>

<em>The activation energy Qd = 252,609 J/mol</em>

<em>B</em>

<em>The diffusion coefficient D= 5.14 x </em>10^{-15}<em></em>

Explanation:

The full explanation is contained in the attached images;

5 0
4 years ago
Go give some love to this video, thumbs up needed!!!<br> https://youtu.be/F6w_CqB0bZM
kolezko [41]

Answer:

i liked the vid

Explanation:

can i get brainliest pls

5 0
3 years ago
Scientists learn more about the natural world through investigation. This involves identifying a problem, researching related in
mars1129 [50]

Answer:

This shows that the technological designs are similar to the scientific investigation processes.

Explanation:

Scientists carry out scientific investigations and discoveries. They learn from their environment by investigating the natural world. The scientist investigates by problem identification, research the related information, designing and conceptualizing, investigating and analyzing the results and deriving out conclusions.

Similarly the engineers follow the same step and provide solutions to the problems of the society through their products and technological designs. The engineers first identify the need of the product, design and implement the design to provide solution and then evaluate the solution. These are the similar steps that an engineer follow in a technological design of a product or a solution.

3 0
3 years ago
You recall an algorithm from elementary school for factoring a number N: Divide out all factors of 2, then of 3, then of 4, then
Contact [7]

Answer:

let number = 0

while number < 1

  begin

     print "Enter a positive integer: "

     read number

  end

end_while

find and print number's factors:

let prime = TRUE

let currentFactor = 2

let lastFactor = the square root of number truncated

  to an integer value

while currentFactor <= lastFactor

  begin

     if number is evenly divisible by currentFactor

        begin

           print currentFactor

           let number = number / currentFactor

        end

     else

        let currentFactor = currentFactor + 1

     end_if

  end

end_while

print a message if number is prime:

if prime == TRUE

  print "Your number is prime"

end_if

Explanation:

4 0
3 years ago
Other questions:
  • A storage tank has a volume of 3,000 liters. The tank is originally filled to a pressure of 21.1 megapascals with an ideal gas w
    6·1 answer
  • A CPMT should include _____ who can oversee the security planning of the project and provide information on threats, vulnerabili
    6·1 answer
  • A ceramic material can be defined as an organic compound consisting of a metal or semimetal and one or more nonmetals: (a) true
    9·1 answer
  • Consider a large plane wall of thickness L = 0.3 m, thermal conductivity k = 2.5 W/m · °C, and surface area A =12 m2. The left s
    6·1 answer
  • 4. In the Hyatt Regency walkway case study, it is reported that Jack Gillum stamps the 42 shop drawings, including the revised S
    10·1 answer
  • The melting point of Pb (lead) is 327°C, is the processing at 20°C hot working or cold working?
    6·1 answer
  • The volume of a right circular cone of radius r and height h is V = 1 3 πr 2h (a) (i) Find a formula for the instantaneous rate
    8·1 answer
  • the diagram shows an electrical circuit when the switch is open and closed which series of energy transformation occurs when the
    15·1 answer
  • Sandy drives west during a three-day road trip. On the first day, she travels 300 km and stops for the night. The next day, she
    12·1 answer
  • What is an advantage of a nuclear-fission reactor?.
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!