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

after students borrowed 28 novels from the school library, there were 35 novels left. how many novels were in the school library at first
PLEASE ANSWER ASAP, I WILL MAKE YOU BRAINLIEST!!! What is the perimeter of rectangle JKLM?
Identify the word that best completes the sentence. After being trapped on the icy mountain for days, the men were in danger of dying from ________. A. suspici
4.You can buy certain supplies in the European Union or in South Africa. For the moment, ignore other factors that can affect price. Would it be cheaper to buy
A city planning method that sets city uses apart from each other is called __________. A. a greyfield B. zoning C. urban sprawl D. an edge city
In 1839, a group of Africans took control of a Spanish ship called La Amistad that was bound for a port in Cuba where the Africans were to be sold as slave
The probability of getting a head when a biased coin is tossed is . The coin is tossed three times. Find the following probabilities and match the solution.
Estimate 15 -(-5.03) -7.88
Help on math plzzzz....
Although the Hepburn Act passed Congress with relative ease during the term of Theodore Roosevelt, the Pure Food and Drug Act