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

Why did many Arab tribes fight against the Central powers during World War I?
When writing a business letter you should begin by
Whenever the other house of Congress significantly alters a bill, a conference committee must be formed to reconcile the differences between the House and Senat
The belief that one’s culture is superior to another’s refers to
Select the answer that best completes this sentence: Mi papá es _______. A. serio B. tres C. anaranjado D. verde
James has 6 stamps in his stamp collection. Roy has 12 stamps in his stamp collection. James adds 2 stamps to his stamp collection. After James adds these stamp
Each lung is fed oxygen by a separate bronchus. true or false?
who is the first president wife name
Which of the following shows a periodic pattern? A.there are two ducks in one pond. B.there is meat next to the cheese in the refrigerator C.a boy waits five mi
In which sentence is an essential appositive or appositive phrase underlined?     a.The lead actor in the movie Remember the Titans, in the movie, played the pa