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

If △ABC ~ △DEF, solve for FE.
Name the war that is considered to be the worst religious war of the Reformation era. a. Protestant Catholic War c. Thirty Year’s War b. Holy War d. Huguenot Wa
hey, i need some help <3​
Describe what would happen to the consumers and producers within the ecosystem if the bacteria were wiped out or removed?
Harvey is working on a weekly budget. He earns $459 per week. Harvey spends $200 per week on rent and utilities plus $85 per week on food. After paying for rent
Sunil has written this topic sentence for his paper. President Kennedy and the United States decided to race the Soviet Union to land on the moon first. This wa
Help please if you can :)
A student creates a model of the formation of fossil fuels by first placing a layer of leaves, representing organic matter, in the bottom of a cup. What step wi
There are 120 Calories in a 34-cup serving of cereal. How many Calories are there in 6 cups of cereal? Enter your answer in the box. Calories=
helppp nowwww plsss!!!