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

Which state is known as the nutmeg state?
Much of Canada’s mineral wealth is found in the A: Prairie Provinces. B: Canadian Shield. C: St. Lawrence Lowlands. D: Great Lakes.
A box contains 2 green balls and 2 yellow balls. Reaching to the box and grab a yellow ball. Express the probability as a decimal.
An egalitarian system is an authority pattern in which authority shared by both the mother and the father.
What two groups formed the majority of immigrants to the United States in the 1800s
which set of three numbers could be the side lengths of a triangle A.5,5,14 B.3,3,2 C.3,3,8 D. 5,5,10
The lengthy of a rectangle is 2 times its width. The area of the rectangle is 72 square inches. Find the dimensions of the rectangle
Benjamin rush, a physician who also signed the declaration of independence, was the first to:
What is 1 6 of 26% of $9,000
Help me please!!!!!!