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
In a heat-treating process, a 1-kg metal part, initially at 1075 K, is quenched in a closed tank containing 100 kg of water, ini
storchak [24]

Answer:

attached below

Explanation:

8 0
3 years ago
In the early stages of an action, the herbicide "Spartan Green" is planned to be applied to kill the vegetation onsite so the si
Goryan [66]

Answer:

Equilibrium Concentration = 0.105mg/kg

Explanation:

Let initial concentration be C₀

S(aq) at initial = C₀ , S(s) at initial = 0

S(aq) at equilibrium  = C₀ - Xe , S(s) at equilibrium = Xe

Xe = 1312.5 mg/kg

At equilibriuim Kd = [S(s)]/[S(aq)]

12500 = 1312.5/(C₀ - 1312.5)

C₀ = 1312.605 mg/kg

Equilibrium Concentration = 1312.605 - 1312.5 = 0.105mg/kg

8 0
4 years ago
A square isothermal chip is of width w 5 mm on a side and is mounted in a substrate such that its side and back surfaces are wel
Lynna [10]

Answer:

a) 0.35 W

b) 5.25 W

Explanation:

Given that

Width of the chip, W = 5 mm

The environment temperature, T(∞) = 15° C

Surface temperature, T(s) = 85° C

The initial convection heat coefficient, h1 = 200 W/m².K

The final convection heat coefficient, h2 = 3000 W/m².K

See attachment for solution

6 0
3 years ago
Which of the following was an Enlightenment idea that influenced the Founding Fathers?
Leno4ka [110]

Answer:

revolt against what they perceived as unfair British taxation.

Explanation:

4 0
3 years ago
How does one find a balance profit and environmental concerns
tensa zangetsu [6.8K]
Make sure that you can keep a healthy amount of both
6 0
3 years ago
Other questions:
  • Oil with a density of 850 kg/m3 and kinematic viscosity of 0.00062 m2/s is being discharged by an 8-mm-diameter, 42-m-long horiz
    9·1 answer
  • What is 1000J in Btu?
    9·2 answers
  • If the Zener diode is connected<br>wrong polarity the voltage<br>across the load is?​
    11·1 answer
  • A particle of given mass m 1kg, and charge q1 Couloumb, is placed in a magnetic field B 1k Tesla and thus is subjected to the ef
    11·1 answer
  • A 2 m3 insulated rigid tank contains 3 kg of nitrogen at 90 kPa. Now work is done on the system until the pressure in the tank r
    15·1 answer
  • What is an OTG USB? how is it useful ​
    14·1 answer
  • An isothermal CSTR with a first order irreversible reaction A â&gt; B (and rA[mol/(ft3*min)] = - 0.5 CA) has a constant flow rat
    13·1 answer
  • 1.
    11·1 answer
  • Consider a situation where water is used as the coolant in a heat exchanger for a micro-electromechanical device (MEM device). T
    12·1 answer
  • When operating a crane, which of the following is an important safety precaution? Select all that apply.
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!