jaylanpersaud jaylanpersaud
  • 03-11-2020
  • Computers and Technology
contestada

test if the word mold is stored in the variable word.

Respuesta :

Cytokine
Cytokine Cytokine
  • 03-11-2020

word = whatever value you want

if "mold" in word:

   print("The word mold is in the variable word")

else:

   print("The word mold is not in the variable word")

I hope this helps!

Answer Link

Otras preguntas

The artist who first successfully combined folk music and rock music was: a. Tony Rice. b. Stephen Foster. c. Garth Brooks. d. Bob Dylan.
6x + y=18 4x + y=14 solve the linear equation
Please send help, how to solve it
54321 code in english language​
“an inconvenient truth” summarized with key figures please
Which is greater 0.48 or -0.58?​
Triangle ABC has vertices at A(-2,3),B(-3,-6), and C(2,-1). Is triangle ABC a right triangle? If so, which angle is the right angle? O No, the triangle has no r
Different ideologies compete to establish their vision of the best ways to organize society, including...A. Economic structuresB. Political systemsC. Social ins
Which client statement indicates knowledge deficit r/t substance use disorder?a) Although legal, alcohol is one of most widely used drugsb) Tolerance to heroin
20 years ago a top of the line video game console cost $500 if the inflation rate is 5% compounded continuously how much would that same console cost today?