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

What is the solution to this system of linear equations: y-x=4 and y+2x=1 1) (-1,3) 2) (0,4) 3) (1,-1) 4) (-3,3)
What are three interesting facts about Susan B. Anthony's childhood ?
would you rather be a senator or a representative member? why or why not?
How many light sources do you know Pls list them
What is the solution to this system of linear equations: y-x=4 and y+2x=1 1) (-1,3) 2) (0,4) 3) (1,-1) 4) (-3,3)
The diagram shows a patio in the shape of a rectangle. The patio is 3.6m long and 3m wide. Mathew is going to cover the patio with paving slabs. Each paving sla
In what respect does an atom of magnesium differ from a magnesium ion (Mg^{2+})? (A)The ion has a more stable electronic arrangement than the atom. (B)The pos
What long-term effect do you think EU membership will have on nationalism in Europe? Explain.
what is the answer to this question -√(12)+5√(75)
In what respect does an atom of magnesium differ from a magnesium ion (Mg^{2+})? (A)The ion has a more stable electronic arrangement than the atom. (B)The pos