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

The first indoor bowling lanes were built in New York.
Do plants have diseases?
What does the "Burgess" title mean?
A pyramid has a square base with an area of 169ft. What is the perimeter of the base of the pyramid?
x + 3 = -3 what is x
What is the mass of substance that exactly fills a 247.2 mL container? The density of the substance is 0.81 g/mL. Give the answer with two decimals.
Movies may depict larger-than-life situations, such as calamities, superheroes, and spaceships. A helps show such extraordinary events.
Researchers looking at the relationship between the type of college attended (public or private) and achievement gather the following data on 3265 people who gr
Simplify the expression 8 2 + 9 ( 12 ÷ 3 × 2 ) − 7 . Explain each of your steps.
What is the SOAPSTone of the Tell Tale Heart?