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

Pumping 25 gallons of gas into a truck in 3 minutes or filling a bathtub with 40 gallons of water in 5 minutes
what’s the equation when the line is (6,5) and slope is 2/3
Which electromagnetic waves have the largest wavelength?
He sat by the clock in the villa, when his mother was not near, and checked his time. He was incredulous and then proud to find that he could hold his breath wi
3. All Mound Builder cultures shared: the same lands the same years of activity the same cultural traits Which one?
12 POINTS TO SOLVE. NEED HELP ASAP!!
The measures of two angles of a triangle are 61 and 84 degrees. Find the measure of the third angle.
Use this situation for the following question: Your restaurant bill shows the Subtotal as $52.35, tax of $5.13, making the Total $57.48. 1.Calculate an 20%
Plz help me on this one
in a mixture of helium and chlorine, occupying a volume of 12.8 l at 605.6 mmhg and 21.6 oc, it is found that the partial pressure of chlorine is 143 mmhg. what