asked 210k views
2 votes
Test if the word mold is stored in the variable word. Computer science.

1 Answer

5 votes

Answer:

word = str("Enter a word: ")

if "mold" in word:

print("Mold is in the variable word.")

else:

print("Mold is not in the variable word.")

answered
User Stasiekz
by
7.5k points

No related questions found