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 of the following statements is true concerning LUCA? (1) LUCA was a cell. (2) All life on Earth evolved from LUCA. (3) LUCA probably existed probably arou
the cafeteria has 45 square  tables that can be pushed together to form one long table for the lacrosse team's banquet. Each square table can seat one person on
the cafeteria has 45 square  tables that can be pushed together to form one long table for the lacrosse team's banquet. Each square table can seat one person on
which state of matter has the least amount of energy?
“The genetic code is universal.” Explain this statement.
If 8 men can chop down 28 trees in one day, how many trees can 20 men chop down in one day?
If 8 men can chop down 28 trees in one day, how many trees can 20 men chop down in one day?
If 8 men can chop down 28 trees in one day, how many trees can 20 men chop down in one day?
which state of matter has the least amount of energy?
which factor made the most difference in how agriculture affected the economies of the colonies?