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

(1) When we call someone “pig” or “swine,” we do not mean it as a compliment. (2) But pigs do not deserve to be used as a symbol for an insult. (3) They are pro
Question for Math! I have a 200-point math test coming up, and I don't get the concept of this question, but if somebody is willing to help me out on this quest
Complete the sentence with a word that means the same as "rare"
Write an expression to describe the sequence below. Use n to represent the position of a term in the sequence, where n = 1 for the first term.–77, –76, –75, –74
PLEASE HURRY FAST!!! Jim is building a pen for his puppy. His puppy has an area of 127 square feet. Which is the best estimate for the number of feet of fencing
Cuanto vale la y en matemáticas
g(x) = 4x+6 h(x)=x-5 Write the expressions for (g-h) (x) and (g-h) (x) and evaluate (g- h) (3). (g-h)(x) = (g-h)(x) = 0 (g+h)(3) =
Find the coordinates of the midpoint of the line segment with endpoints (6, -2) and (-3, -2). midpoint: (x, y) = ( )
Complete the sentence with a word that means the same as "rare"
Hey, How are you what you doing