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

What is the best sport in your opinion, give three good reasons why.
Which statement describes the most likely message of this passage?
I need help on this subject.
Part 50000 of me forgetting math please help
A biologist prepares a culture. After 1 day of growth, the biologist counts 1000 cells. After 2 days of growth, he counts 3000. Assuming a Malthusian model, wha
Which statement describes the most likely message of this passage?
Which statement describes a solution to the system of equations below 3x-6y=9 x-2y=5  A there is none B the solution occurs when x=3 C the solution occurs
/////////////////////////////////////////
Should Nucor have acted promptly to prevent such behavior?
Mars is an 18-billion dollar privately owned business; Hershey is only a 9 billion dollar publicly owned business. How could Hershey sell more candy and chocola