jaylanpersaud jaylanpersaud
  • 03-11-2020
  • Computers and Technology
contestada

write an if statement to test if the variable letter holds h

Respuesta :

Cytokine
Cytokine Cytokine
  • 03-11-2020

letter = put whatever value here

if "h" in letter:

   print("The letter h is in the variable letter.")

else:

   print("The letter h is not in the variable letter.")

Answer Link

Otras preguntas

There is a story that a man and not a man Saw and did not see a bird and not a bird Perched on a branch and not a branch And hit him and did not hit him with a
Although it may seem contradictory, cats have fangs called ___. A.canines B.felines C.piscines D.porcines
Here is a passage that a writer is quoting. Where should quotation marks be placed? It was a bright spring afternoon. A few puffy clouds gleamed white against t
Which property is not used to simplify the following expression? (x+5)*2+7=2(x+5)+7 =(2x+10)+7 =2x+(10+7) =2x+17
Which statement is an example of an observation the student could have made
Read the following passage. Use context clues to decide on the meaning of the boldfaced word. It could not be from the want of ASSIDUITY or perseverance; for he
Two equations are given below: a − 3b = 4 a = b − 2 What is the solution to the set of equations in the form (a, b)? (−2, −2) (−3, −1) (−9, −7) (−5, −3)
Teresa ___ dio una camera a mi
Which place name has no errors in punctuation? A.Palm Harbor FL. B.Palm, Harbor FL C.Palm Harbor Flor. D.Palm Harbor, FL
What does this word mean in spanish (amor)