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
4.
lorasvet [3.4K]

Answer: observational error

Explanation:

6 0
3 years ago
If you could drive one car for the rest of your life what would it be? Type in comments if you want to answer. Mine is either a
grandymaker [24]

Answer:

the kind of car I want to ride for the rest of my life is Lamborghini.

Explanation:

3 0
3 years ago
Which of the following results from the fact that skip signals refracted from the ionosphere are elliptically polarized?
zhenek [66]

Answer:

B

Explanation:

The fact that skip signals refracted from the ionosphere are elliptically polarized is a result of either vertically or horizontally polarized antennas may be used for transmission or reception.

8 0
3 years ago
10. True or False? A disruptive technology<br> radically changes the way people live and<br> work.
Anettt [7]

Answer:

<u>True</u>

Explanation:

According to Investopedia.com, "Disruptive technology is an innovation that significantly alters the way that consumers, industries, or businesses operate".

So yes, a disruptive does radically change the way people live and work.

5 0
3 years ago
Read 2 more answers
The Clean Air Act Amendments of 1990 prohibit service-related releases of all ________.
ozzi

Answer:

D) Refrigerants.

Explanation:

Refrigerants refers to any chemical substance that undergoes a phase change (liquid and gas) so as to enable the cooling and freezing of materials. They are typically used in air conditioners, refrigerators, water dispensers, etc.

In the United States of America, the agency which was established by US Congress and saddled with the responsibility of overseeing all aspects of pollution, environmental clean up, pesticide use, contamination, and hazardous waste spills is the Environmental Protection Agency (EPA). Also, EPA research solutions, policy development, and enforcement of regulations through the resource Conservation and Recovery Act .

The Clean Air Act Amendments of 1990 prohibit service-related releases of all refrigerants such as R-12 and R-134a. This ban became effective on the 1st of January, 1993.

3 0
3 years ago
Other questions:
  • At the beginning of the compression process of an air-standard Diesel cycle, p1 = 95 kPa and T1 = 300 K. The maximum temperature
    6·1 answer
  • 4. A certain tire has a size of P215/65R16. What does the 65 number signify?
    5·1 answer
  • The probability density function of the time to failure of an electronic component in a copier (in hours) is f(x) = (e^-x/1076)/
    6·1 answer
  • In a right triangle, the square of the length of one side is equal to the sum of the squares of the lengths of the other two sid
    10·1 answer
  • What is your understanding and opinion on the validity of the stand-by equipment maintenance requirement?
    15·1 answer
  • Will mark brainliest!
    13·2 answers
  • When would working with machinery be a common type of caught-in and caught-between<br> hazard?
    6·1 answer
  • It is the responsibility of every employee to ensure that tools are used ____ and____.
    13·1 answer
  • What could cause an increase in the demand for residential architects?
    12·1 answer
  • The employer rejected a contractor's tender and accepted a different
    15·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!