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

Give a counter example to this statement. The quotient of two fractions between 0 and 1 is always a whole number.
When 8.00x10^22 molecules of ammonia react with 7.00x10^22 molecules of oxygen according to the chemical equation shown below, how many grams of nitrogen gas ar
What process in animal cells required oxygen
A basketball rolls of a 0.70 m high desk and strikes the floor 0.25 m away from the base of the desk? How fast was the ball rolling?
What fraction is closest to 3/4? 2/3 3/5 7/10 13/20 Show your working please
written in simplest form, the expression (x^2)(y^2)-9 over 3-xy is equivalent to 1. -1 2. 1 over 3+xy 3. -(3+xy) 4. 3+xy Please show work
what type of society did stevenson live in
what is the time interval between the release of the ball and the time it reaches its maximum hieght? the acceleration gravity is 9.81m/s^2 and the maximum heig
What phylum has animals with soft bodies, and most of them have shell-like coverings?
what was the basic Sumerian building material?