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

Given the function rule f(x) = x^2 - 3x + 2, what is the output of f(-2)
What's the value of the product (3-2i)(3+2i)
A model of a famous statue is 2 1/2 inches tall the actual statue is six and two thirds feet tall what is the ratio of the height of the model to the height of
a Norfolk pine is 18 inches tall and grows at a rate of 1.5 feet per year
5x+10=10y How to solve for y
How do you solve for t this equation? 1/3t=7
explain how a number and its reciprocal are related
A prism has a surface area of 75 feet. Which sentence describes the effect of measuring the surface area in square inches. a. surface area decreases. b. the sur
Which is greater 6.76 or 6.759
use the Distributive property to rewrite each expression in it's equivalent form -7y(4-y) please show your work !! hello students from all over the world ! ple