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 is aluminium foil able to reduce heat loss through the walls of a house
por que os vulcões e os terremotos são mais freqüentes em certas regiões do planeta
log4(x)+log4(x+15)=2
which of the following did not trigger Haiti's fight for independence
PLEASE CHECK MY ANSWERS (PART 1)
what is 20/7 as a mixed number what is 9/4 as a mixed number what is 22/5 as a mixed number what is4/3 as a mixed number
21.) Which best describes the antecedent in the sentence? Mr. Walker helped Larry with his Latin lessons, but he had to leave early. A. clear B. missing, unc
two trains leave stations 408 miles apart at the same time and travel toward eachother. one train travels at 95 miles per hour while the other travels at 75 mil
the coordinates of point A are (-6, 4). the coordinates of point B are (3, 4). which expression represents the distance, in units, between points A and B?
PLEASE CHECK MY ANSWERS (PART 2)