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

why dog pants during summer use the cocept of evaporation
explain why the motion of a body which is moving with constant speed in a circular path is said to be accelerated ?
What's the word for to talk on and on pointlessly, without clear direction
What's the term for: unwilling to bend; unyielding
What's the other word a weak or lifeless feeling
How did Niccolo Machiavelli’s book The Prince set him apart from other writers of the Renaissance?
why dog pants during summer use the cocept of evaporation
Amy raised £n for charity. Chris raised £18 more then any. The mean amount raised by the two of them is £45. Work out how much money each one of them raised
what we need to become success
What's the other word stubborn; inflexible