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

what time is 9 hours and 30 minutes before. 4:25
Which of the following rivers is the world's busiest waterway ?
What is the change in number of individuals in a population over time? A. population decrease B. population stability C. population growth D. population resista
The neolithic revolution is most closely associated with....
The graph of y = 4x - 11 is translated up 8 units. Which equation represents the translated graph? f y = 4x - 19 g y = 4x - 3 h y = 12x - 11 j y = 12x - 3
what time is 9 hours and 30 minutes before. 4:25
Find an equivalent ratio for 22/55 and then write the proportion
A 4.5 newton object is placed in a tank of water. If the water exerts a force of 4.0 newtons on the object, will the object sink or float?
(X+12) 2 ÷ x2-144 ×-12. 12×-144
Please tell me five slogans on conservation of natural vegetation.