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
ANEK [815]
3 years ago
11

The function below takes a two parameters: a list called a_list and a value called a_value. Complete the function to first check

to see if the value is already in the list. If the value is already in the list, then do nothing. Otherwise, append the value to the end of the list. Your function doesn't need to return anything.
Engineering
1 answer:
Alik [6]3 years ago
5 0

Explanation:

def checklist(a_list, a_value):// def //used to name a function, the //arguments being passed into the //functions are a_list and a_value

if a_value in list://if statement to

//check if it's in the list or not

print("")//print statement to do

//nothing

else://else statement for if the

//a_value is in a_list

a_list.append(a_value)//this adds

//the value to the list

You might be interested in
Why is it reasonable to say that no system is 100% efficient?​
Virty [35]

Generally, frictional losses are more predominant for the machines being not 100% efficient. This friction leads to the loss of energy in the form of heat, into the surroundings. Some of the supplied energy may be utilised to change the entropy (measure of randomness of the particles) of the system.

5 0
3 years ago
A group of n Ghostbusters is battling n ghosts. Each Ghostbuster carries a proton pack, which shoots a stream at a ghost, eradic
babunello [35]

Answer:

Using the above algorithm matches one pair of Ghostbuster and Ghost. On  each side of the line formed by the pairing, the number of Ghostbusters and Ghosts are  the same, so use the algorithm recursively on each side of the line to find pairings. The  worst case is when, after each iteration, one side of the line contains no Ghostbusters  or Ghosts. Then, we need n/2 total iterations to find pairings, giving us an P(n^{2} lg n)-  time algorithm.

4 0
3 years ago
What happens to the duty cycle for a GMAW Gun when 75Ar/25COzgas
skad [1K]

So what happens is the host will not kill the y no se que hacer para no one can see it in

6 0
2 years ago
What type of foundation do engineers use for a small and light building and when the load of the building is borne by columns? A
ikadub [295]

Answer:

A.

Explanation:

Individual footings are the commonest, and they are often used if the load of the building is borne by columns. Typically, every column will have an own footing. The footing is usually only a rectangular or square pad of concrete on which the column is erected

8 0
3 years ago
A sensor produces a signal with amplitude 15 mV. A voltage amplifier must amplify the signal such that the amplitude of the outp
Nady [450]

Answer:

42.50 dB

Explanation:

Determine the minimum voltage gain

amplitude of input signal ( Vi ) = 15 mV

amplitude of output signal ( Vo) = 2 V

Vo = 2 v

therefore ; minimum gain = Vo / Vi =  2 / ( 15 * 10^-3 )

                                                         = 133.33

Minimum gain in DB = 20 log ( 133.33 )

                                  = 42.498 ≈ 42.50 dB

8 0
2 years ago
Other questions:
  • A circular section of material is tested. The original specimen is 200 mm long and has a diameter of 13 mm. When loaded to its p
    11·2 answers
  • A wastewater treatment plant has two primary clarifiers, each 20m in diameter with a 2-m side-water depth. the effluent weirs ar
    8·1 answer
  • What is a build enviroment in construction
    8·1 answer
  • A lake with a surface area of 525 acres was monitored over a period of time. During onemonth period the inflow was 30 cfs (ie. f
    5·1 answer
  • A vehicle is moving at a velocity, v, given by v =12t - 3t2 ms-1. Use
    7·1 answer
  • The minimum fresh air requirement of a residential building is specified to be 0.35 air changes per hour (ASHRAE, Standard 62, 1
    10·1 answer
  • According to OSHA standards, the air in the building that John works in is unsafe. The type of regulation that OSHA engages in i
    8·2 answers
  • In sleep, what does REM stand for?
    10·1 answer
  • What is the maximum fine for knowingly refilling a disposable refrigerant drum?
    11·1 answer
  • What is a beam on a bridge? what does it do?
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!