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 is a greater measurement one mile or one kilometer
The rule of nines involves dividing the body into Areas
Select Noun Phrase if the underlined group of words is a noun phrase. Select Not a Noun Phrase if the underlined group of words is not a noun phrase. Sentence
Solve. 2 = 4 times quantity z 1
Which of these is the correct time frame of the progressive era?
A software company startes with 2 employees. in 6 months, the company has u employees. the number of employees increased at a steady rate. which equation models
Which best describes the underlined words in the sentence? *Have* you ever *seen* shooting stars? A. compound verb B. simple predicate C. complete predicate
2 and 1 fourths tons us how many pounds?
In the equation x=−3y, what is the unit rate?
.06x + .08 (18000 - x) = 1290 solve for x and explain the steps. x should equal 7500, but I can't figure out how it is done. please help !