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
BlackZzzverrR [31]
3 years ago
9

Count the numbers in a list that are over 100 The function below takes one parameter: a list of numbers (number_list). Complete

the function to count how many of the numbers in the list are greater than 100. The recommended approach for this: (1) create a variable to hold the current count and initialize it to zero, (2) use a for loop to process each element of the list, adding one to your current count if it fits the criteria, (3) return the count at the end. student.py 1 - def count_over_100(number_list): # Implement your function here. Be sure to indent your code block!
Computers and Technology
1 answer:
kirza4 [7]3 years ago
4 0

Answer:

def count_over_100(number_list):

   count = 0

   for number in number_list:

       if number > 100:

           count += 1

   return count

Explanation:

Create a function called count_over_100 that takes one parameter, number_list

Initialize the count as 0

Create a for loop that iterates through the number_list. Inside the loop, check each number using if-else structure. If a number is greater than 100, increment the count by 1.

When the loop is done, return the count

You might be interested in
Why won't Brainly let me send a link? This is just du*mb! I want to send good articles explaining a content, and this site just
Basile [38]

Answer:

Maybe is against the community

Explanation:

4 0
3 years ago
Which button will allow you to insert quotes and notes into text into a document​
oksano4ka [1.4K]

Answer:

You copy and paste it

Explanation:

right click on the mouse then it will say copy, you right click on the mouse and click paste voila! it works! (If you're using word there are 3 options for pasting, Keep source formatting, Merge formatting and keep text only)

8 0
3 years ago
Which of the following is a school-to-work program that provides the student with paid employment, school credit, and school gra
vovangra [49]

Cooperative education program

6 0
3 years ago
Read 2 more answers
The while loop has two important parts: a condition that is tested and a statement or block of statements that is repeated as lo
natima [27]

Answer:

TRUE

Explanation:

The while loop is used to run the block of statement again and again until condition is TRUE. if condition false program terminate the loop and execute the next of while statement.

syntax:

initialize;

while(condition)

{

 statement;

  increment/decrement;

)

when condition is TRUE, the block of statement execute again and again.

8 0
3 years ago
Determina la cilindrada total Vt en un motor de 4 cilindres de 83,6 mm de diàmetre per 91 mm de cursa.
insens350 [35]

Answer:

La cilindrada total del motor es de 1997,025 centímetros cúbicos.

Explanation:

Para determinar la cilindrada total Vt en un motor de 4 cilindros de 83,6 mm de diámetro por 91 mm de carrera se debe realizar el siguiente cálculo, sabiendo que para calcular la cilindrada de un motor se debe utilizar la fórmula ((Pi x Diámetro^2)/4) x Carrera x Número de cilindros = X:

((3.14 x 83.6^2)/4) x 91 x 4 = X

((3.14 x 6,988.96)/4) x 364 = X

(21,945.3344 / 4) x 364 = X

5,486.3336 x 364 = X

1,997,025.4304 = X

1 milímetro cúbico = 0.001 centímetro cúbico

1,997,025.4304 milímetros cúbicos = 1997.0254304000005 centímetros cúbicos

Por lo tanto, la cilindrada total del motor es de 1997,025 centímetros cúbicos.

3 0
3 years ago
Other questions:
  • A web page that integrates content and scripts from multiple web sites to create new applications is known as a:
    13·1 answer
  • . How is a form used?
    10·1 answer
  • Which of the following is true regarding packaged software and custom software? Group of answer choices Packaged software are ap
    13·1 answer
  • Which one of the following items is an example of software?
    12·2 answers
  • Describe three perimeter intrusion detection systems and give an example of one that you have seen deployed either at work or an
    8·1 answer
  • What is the function of a breadcrumb trail in a website ?
    10·2 answers
  • How can you say that a painting is real? ​
    7·2 answers
  • Why was the tesla model s help change the was we see EV
    12·1 answer
  • How do i stop my computer from automatically connecting to a wireless network
    5·1 answer
  • What would the input, process, outcome and feedback be for a class assignment
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!