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
Masja [62]
3 years ago
15

The function below takes a single string parameter: input_string. If the input contains the lowercase letter z, return the strin

g 'has the letter z'. Otherwise, return the string 'not worthwhile'.

Engineering
1 answer:
Whitepunk [10]3 years ago
4 0

Answer:

# string_contains function is defined with input_string

# as arguments

def string_contains(input_string):

   # if-statement that check if letter z is in input_string

   if 'z' in input_string:

       # it print"has the letter z" if it has z

       print("has the letter z")

   else:

       # else it print "not worthwhile"

       print("not worthwhile")

       

# string_contains function is called

string_contains("The animal is zebra")        

string_contains("learning is fun")

Explanation:

The code is written in Python and well commented.

Image of the output when the function is called is attached.

You might be interested in
5. What number filter lens is recommended when welding with SMAW and using 1/8" (3.2 mm)
Inessa05 [86]

Answer:

What filter lens is recommended for SMAW?

Table of Filter Lenses for Protection From Radiant Energy

Type of Operation Electric Size 1/32 in. Arc Current (Amp)

Shield metal arc welding (SMAW) 3 to 5 60 to 160

5 to 8 160 to 250

More than 8 250 to 500

Explanation:

7 0
3 years ago
What type of drawing would civil engineers use if they needed to show an
Katyanochek1 [597]

Answer:

I would say an Oblique drawing.

Explanation:

An oblique drawing uses 45 degree angles.

5 0
4 years ago
Q.13 In order to produce maximum starting torque in a split-phase motor, how many degrees out of phase should the start- and run
Phantasy [73]

Answer:

D. 90 degrees.

Explanation:

Torque is a rotational force which moves an object in other direction. There should be 90 degrees out of phase to start, run winding currents with each other. Torque is produced by the rotational motion of an object. The angle of the object must be 90 degrees set in order to create torque.

3 0
3 years ago
Consider a simple ideal Rankine cycle with fixed boiler and condenser pressures. If the steam is superheated to a higher tempera
Usimov [2.4K]

Answer:

Option D - the moisture content at turbine exit will decrease

Explanation:

In an ideal rankine system, the phenomenon of superheating occurs at a state where the vapor state of the fluid is heated above its saturation temperature and the phase of the fluid is changed from the vapor phase to the gaseous phase.

Now, a vapour phase has two different substances at room temperature, whereas a gas phase consists of just a single substance at a defined thermodynamic range, at standard room temperature.

At the turbine exit, since it's just a single substance in gaseous phase, it means it will have less moisture content.

Thus, the correct answer is;the moisture content at turbine exit will decrease

4 0
3 years ago
5. One of the major road blocks for direct DC power in residences is the ___. A) generation of DC B) lack of standardization C)
Montano1993 [528]

Answer:

D) quantity of components required for this type of system

Explanation:

Electricity can be transmitted using the alternating and direct currents. The alternating current is one in which the flow of the current diverts at certain time intervals whereas, the direct current is one in which there is a constant one-directional flow of current. The DC is used in batteries and solar panels. Residential areas and business places make use of the AC current.

One of the several reasons why the DC is not used in homes is because unlike the AC it is not easy to build and sustain. Moreso, it has more components compared to the AC. For example, its motor consists of brushes and commutators . The components, example, switches are also large compared to the AC components.

6 0
4 years ago
Other questions:
  • How does the invention of electrical lights and automobiles impact the world today? Explain. (1 paragraph minimum)
    11·1 answer
  • You are reassembling a gearbox. The output
    9·1 answer
  • In a 1-phase UPS, Vd = 350 V, vo(t) = 170 sin(2π * 60t) V, and io(t) = 10 sin(2π * 60t - 30ᴼ) A.Calculate and plot da(t), db(t),
    14·1 answer
  • A gas within a piston–cylinder assembly undergoes an isother- mal process at 400 K during which the change in entropy is −0.3 kJ
    10·1 answer
  • What is the correct answer A, B, C, D
    6·1 answer
  • In a CS amplifier, the resistance of the signal source Rsig = 100 kQ, amplifier input resistance (which is due to the biasing ne
    11·1 answer
  • How do I do this?<br> Blueprints, complete the missing view.
    15·1 answer
  • Cost and benefit, environmental effects, ethical or legal implications, health and safety considerations, and sustainability are
    11·1 answer
  • Refer to Figure 9-18. A #_____ electrode lead and workpiece lead should be used to carry 150 amperes of electricity 75 feet to t
    15·1 answer
  • Using the Breguet range and endurance equation, estimate the amount of kerosene
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!