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

what is a antonym for microphone
What is the sum of 2 10/12 + 3 3/12
which number is between 5/2 and the square root of 11
7/8 minus 1/2 equals
If the 'Cell wall' had a career; what would it be?
which inequality correctly orders -28,-19,12, and 2 a.-28<-19<12<2 b.-28<-19<2<12 c.-19<-28<2<12 d.2<-19<-28<12
A cell begins to send out incorrect chemical signals to neighboring cells. During which phase of the cell cycle did the cause of the change most likely happen?
How many outer electrons does phosphorus have
What can government do to reduce unemployment?
which fraction is between 0 and 2/4