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 table shows the results of rolling a number cube with sides labeled 1 through 6 several times. What is the experimental probability of rolling a 3 or a 6?
simplify the expression 2c+2+5c​
Which of the following best explains why some species are able to survive major changes in the environment? A Some species have variation within their phenoty
Find x. Use a simplified radical or round to the nearest tenth. Pleas helpppp
given f(x) = X^2 – 5x + 6 state discriminant # of solutions
How are sedimentary rocks made. A. Magma or lava is cooled B. Materials are pressed together C. Chemical reactions change minerals. D. Earthquakes causes small
Sheyna has less than 180 minutes to decorate 60 cookies for the bake sale. How long can she spend decorating each cookie to stay within her time limit? (a) Writ
infinite pre-algebra multi-step equations 2) -6n - 2n = 16
What increased due to the growing miles of railroad track in America
photographylenshobbyuse punctuation and gestureeducate your eyeLCD screenbusinessfilmsartsshutter release buttonfocus ringviewfindermode dialDirections: Complet