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
OleMash [197]
3 years ago
6

Given: a variable named incompletes that refers to a list of student ids, and a variable student_id Write some code that counts

the number of times the value associated with student_id appears in the list associated with incompletes and assigns this value to number_of_incompletes. You may use, if you wish, an additional variable, k. You may use only k, incompletes, student_id, and number_of_incompletes.
Engineering
1 answer:
NikAS [45]3 years ago
6 0

Answer:

incompletes = [1,2,1,5,3,4,5,6,5,1,7]

student_id = 5

number_of_incompletes = 0

for k in incompletes:

   if(k == student_id):

       number_of_incompletes += 1

print("Number of incompletes = ",number_of_incompletes)

You might be interested in
My teacher wants me to build a perpetual motion machine and present it. I know they don't exist, and SHE knows they don't exist
Llana [10]

Answer:

You should do it. it is okay if it does not work because if she knows it does not exist she is using it as a example of how it don't exist

Explanation:

7 0
3 years ago
Read 2 more answers
What are difference between conic sectional and solids?
Murljashka [212]

Answer:

Conic Sections

a conic section is a curve which is obtained when a surface performs an intersection with a plane. The types of conic sections include hyperbola, parabola and ellipse. A circle can also be considered as a conic section.

Conic Solids on the other hand are the set of points on any segment between a region and a point which is not present in the plane of the base. They are solids with one base.

3 0
3 years ago
What are the BENEFITS and RISKS of using automobiles?
Molodets [167]

Answer:

u could get hurt or it could not sence in but it easy to work with and u can just relax till u get were ur going.

Explanation:

3 0
3 years ago
50.38
klemol [59]

Answer:

International Building Code (IBC)

Explanation:

6 0
2 years ago
Seawater containing 3.50 wt% salt passes through a series of 11 evaporators. Roughly equal quantities of water are vaporized in
statuscvo [17]

Answer: the mass flow rate of concentrated brine out of the process is 46,666.669 kg/hr

Explanation:

F, W and B are the fresh feed, brine and total water obtained

w = 2 x 10^4 L/h

we know that

F = W + B

we substitute

F = 2 x 10^4 + B

F = 20000 + B .................EQUA 1

solute

0.035F = 0.05B

B = 0.035F/0.05

B = 0.7F

now we substitute value of B in equation 1

F = 20000 + 0.7F

0.3F = 20000

F = 20000/0.3

F = 66666.67 kg/hr

B = 0.7F

B = 0.7 * F

B = 0.7 * 66666.67

B = 46,666.669 kg/hr

the mass flow rate of concentrated brine out of the process is 46,666.669 kg/hr

8 0
4 years ago
Other questions:
  • A ring-shaped seal, made from a viscoelastic material, is used to seal a joint between two rigid pipes. When incorporated in the
    5·1 answer
  • The lab technician you recently hired tells you the following: Boss, an undisturbed sample of saturated clayey soil was brought
    6·1 answer
  • Our goal is to design a traffic-light controller with the following properties; it lights up the green light (output G) for 15 s
    7·1 answer
  • A receptacle, plug, or any other electrical device whose design limits the ability of an electrician to come in contact with any
    14·1 answer
  • Air is cooled and dehumidified as it flows over the coils of refrigeration system at 100 kPa from 30 ºC and relative humidityof
    14·1 answer
  • Two blocks of rubber with a modulus of rigidity G =10 MPa are bonded to rigid supports and to a plate AB. Knowing that b = 200 m
    8·1 answer
  • Is it more difficult to pump oil from a well on dry land or a well under water?Why?
    11·1 answer
  • 1<br>M<br>A BLIND COOK WHO DEFEATED<br>OVER 30,000 HOME COOKS!<br>y of​
    13·1 answer
  • For a nozzle-duct system shown in Fig Q3, the nozzle is designed to produce a Mach number of 2.8 with y = 1.4, The inlet conditi
    14·1 answer
  • A lightbulb has a fixed negative and positive connector. You cannot swap positive and negative sides of a lightbulb in a circuit
    9·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!