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

An element E is burned in air. A white solid oxide is formed. The oxide is tested with damp red litmus paper. The paper turns blue What is element E?
Please help me solve this
I just pulled a tick from my dog. How do I get rid of these?!?!?! I bathe him every week and comb him about every 3-4 days
what is the slope of a line that passes through the points (3,5) and (-1,7)
Which power did both the Louisiana Constitution and United States Constitution grant to their governments? A; issuing currency . B passing federal laws .
Plant clones are produced via sexual reproduction. TRUE OR FALSE EXPLAIN
How might the changing climate be the cause of more pizzlies in the future?
Find an angle in the normal range for (0° to 360°, or 0 to 2pi radians) whose terminal side points in the same direction as the terminal side of an angle measu
Mia paid $21 to rent 12 video games throughout the month. The store charges $1.25 for new games and $2.75 for older games. How many new games did Mia rent?
The serious delinquency rate measures the proportion of homes that are well behind on their mortgage payments. A real estate investor is trying to decide in whi