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
xeze [42]
3 years ago
12

- if `check_1` and `check_2` variables are both True, it should set the value of a variable `outcome` to the string 'BOTH' - eli

f `check_1` is True and `check_2` is False, it should set the value of a variable `outcome` to the string 'ONE' - elif `check_1` is False and `check_2` is True, it should set the value of a variable `outcome` to the string 'TWO' - else (meaning both must be False), it should set the value of a variable `outcome` to the string 'NEITHER'
Engineering
1 answer:
tresset_1 [31]3 years ago
4 0

Answer:

See Explaination

Explanation:

if(check1 and check2):

outcome = "BOTH"

elif(check1):

outcome = "ONE"

elif(check2):

outcome = "TWO"

else:

outcome = "NEITHER"

You might be interested in
A. Imagine the white car in the left lane is moving more slowly than the surrounding traffic. How is this a violation of a state
asambeis [7]

The roads have pre-described lanes that should follow a particular speed and rules. When a driver drives slowly than he makes the other drivers impatient.

<h3>What are traffic rules?</h3>

Traffic rules are the regulations that are defined to regulate the vehicles and other conveyances that walk on the road. They are different in various places and have separate punishments for not following them.

The left lane of the road is generally for the drivers who want to pass by the vehicle ahead by following the mph rule. If the driver drives slowly then they make the other people impatient and result in honking.

Therefore, the driver driving slowly in the left lane makes others impatient.

Learn more about traffic rules here:

brainly.com/question/6034089

#SPJ2

4 0
2 years ago
Read 2 more answers
Which statement about tensile stress is true? A. Forces that act perpendicular to the surface and pull an object apart exert a t
svp [43]

Answer:

A. Forces that act perpendicular to the surface and pull an object apart exert a tensile stress on the object.

Explanation:

Tensile stress is referred as a deforming force, in which force acts perpendicular to the surface and pull an object apart, attempting to elongate it.

The tensile stress is a type of normal stress, in which a perpendicular force creates the stress to an object’s surface.

Hence, the correct option is "A."

3 0
3 years ago
A pump with a power of 5 kW (pump power, and not useful pump power) and an efficiency of 72 percent is used to pump water from a
almond37 [142]

Answer:

a) The mass flow rate of water is 14.683 kilograms per second.

b) The pressure difference across the pump is 245.175 kilopascals.

Explanation:

a) Let suppose that pump works at steady state. The mass flow rate of the water (\dot m), in kilograms per second, is determined by following formula:

\dot m = \frac{\eta \cdot \dot W}{g\cdot H} (1)

Where:

\dot W - Pump power, in watts.

\eta - Efficiency, no unit.

g - Gravitational acceleration, in meters per square second.

H - Hydrostatic column, in meters.

If we know that \eta = 0.72, \dot W = 5000\,W, g = 9.807\,\frac{m}{s^{2}} and H = 25\,m, then the mass flow rate of water is:

\dot m = 14.683\,\frac{kg}{s}

The mass flow rate of water is 14.683 kilograms per second.

b) The pressure difference across the pump (\Delta P), in pascals, is determined by this equation:

\Delta P = \rho\cdot g\cdot H (2)

Where \rho is the density of water, in kilograms per cubic meter.

If we know that \rho = 1000\,\frac{kg}{m^{3}}, g = 9.807\,\frac{m}{s^{2}} and H = 25\,m, then the pressure difference is:

\Delta P = 245175\,Pa

The pressure difference across the pump is 245.175 kilopascals.

4 0
3 years ago
TWO SENTENCES!!!! What are the roles of an engineer?
madam [21]

Answer:

An engineer nomaly cretea things designed by others.They also help repare stuff like cars sorry bout the gammr

Explanation:

5 0
3 years ago
Read 2 more answers
A road has a crest curve, where the PVI station is a 71 35. The road transitions from a 2.1% grade to a -3.4% grade. The highest
sveticcg [70]

Answer:

Stat PVC = Stat(82+98.5)

Stat PVT = Stat(59+71.5)

Explanation

PVI = 71 + 35

Let G1 = Grade 1; G2 = Grade 2

G1 = +2.1% ; G2 = -3.4%

Highest point of curve at station = 74 + 10

General equation of a curve:

y = ax^{2} +bx+c\\dy/dx=2ax+b\\

At highest point of the curve dy/dx=o

2ax+b=0\\x=-b/2a\\x=G1L/(G2-G1)\\x=L/2 +(stat 74+10)-(stat 71+35)\\x=L/2 + 275

-G1L/(G2-G1) = (L/2 + 275)/100\\L = -2327 ft\\Station PVC = Stat(71+35)+(-2327/2)\\\\Stat PVC = 7135-1163.5\\Stat PVC = Stat(82+98.5)\\

Station PVT

Station PVT = Stat PVI + (L/2)\\Station PVT = Stat(71+35)+(-2327/2)\\Station PVT = 7135-1163.5\\Stat PVT = Stat(59+71.5)

3 0
3 years ago
Other questions:
  • Write cout statements with stream manipulators that perform the following:
    8·1 answer
  • The fine for passing a stopped school bus illegally on the right is
    14·1 answer
  • Please help <br>.. <br>....<br> . .<br>....<br>...​
    13·1 answer
  • You have been asked to design a steady state treatment device similar to a continuously mixed reactor to treat toluene in an aqu
    11·1 answer
  • Given in the following v(t) signal.
    14·1 answer
  • Which one is an example of a digital input?
    5·1 answer
  • The tool life decreases from 0.8 min to 0.2 min due to the increase in cutting speed from 60 m/min to 120 m/min in a turning ope
    12·1 answer
  • Do you know anything about Android graphics?
    5·1 answer
  • An aircraft component is fabricated from an aluminum alloy that has a plane strain fracture toughness of 30 . It has been determ
    5·1 answer
  • 2+2 = 900000000000000000000000000000000000
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!