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

If 9 is P percent of 17, then P Is a number between A) 0 and 20 D) 60 and 80 B) 20 and 40 C) 40 and 60 E) 80 and 100
Motorcycles have two or three wheels, a seat for the rider and at least a ____ horse-powered engine.
How is the wife in "A Journey" like Brown in "Young Goodman Brown"? Both hide a dark secret. Both distrust their spouses. Both fear that their faith is weak.
The following data shows the weight, in pounds, of 6 boxes: 5, 3, 3, 4, 5, 4 What is the value of the mean absolute deviation of the weight of the boxes, and wh
Electricity costs 7 cents per kilowatt hour. In one month one home uses one megawatt hour of electricity. How much will the electric be?
SOME ONE PLZ HELP ASAP!!!!!!!!!! (yall will get 25 extra points)
The high temperatures at a park for 10 days are 40, 42, 41, 41, 43, 43, 44, 45, 44, and 45 degrees Fahrenheit. What is the interquartile range of the data?
What is the answer to the problem
Find the measure of the numbered angle Select one: a. 70 b. 75 c. 80 d. 85
What is the equation of the line that passes through the points (0.8, 0.2) and (0.5, 1.5)