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

An atom of which element has the greatest attraction for electrons in a chemical bond? (1) As (3) Ge (2) Ga (4) Se
The nucleus of an atom of K-42 contains (1) 19 protons and 23 neutrons (2) 19 protons and 42 neutrons (3) 20 protons and 19 neutrons (4) 23 protons and 19 neutr
Identify three search combinations you could use to find information about technology on the internet.
x^2-8x+5=0 Solve by completing the square.
find the eccentricity of the ellipse 4x^2 +16y^2 +32x-32y+16=0
What is HDI? What factors influence the HDI of a country the most?
I have but one lamp by which my feet are guided, and that is the lamp of experience. Do any of u guys know what this means?
The balanced equation below represents a molecule of bromine separating into two bromine atoms. Br2-->Br + Br What occurs during this change? (1) Energy is a
Given the balanced equation representing a reaction: CaO(s) + CO2(g) ==>CaCO3(s) + heat What is the total mass of CaO(s) that reacts completely with 88 grams
Science Experiments: What does Interpretation of Data mean?