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

How do you Factor c(squared)-8c ??
By the mid-1700s, the largest city in the colonies was (A) New York (B) Boston (C) Philadelphia (D) Charleston (E) Wilmington, Delaware
If 8 men can chop down 28 trees in one day, how many trees can 20 men chop down in one day?
Can somoene help me with this question??How might the history of the U.S. have been different if the original thirteen states had been guaranteed a perpetual ma
Why was is difficult for the Arab people to form one nation?
If a slope of a line is 2/0 is it 0 or undefined?
Find all powers of 4 in range 4 through 1,000
How do you Factor c(squared)-8c ??
How do you Factor c(squared)-8c ??
Which of the kingdoms has the smallest number of known species