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

Plot the following data points. 1 4 , 3 4 , 1 , 1 3 4 , 1 3 4 , 2 1 2 , 3 1 4
Factor completely the expression: 2x^3 - 2x^2 - 12. Person who answers correct and is the quickest gets brainliest.
What was one important consequence of the Fugitive Slave Act of 1850? A: The law improved relations between the North and South and helped ease any remaining te
Read the excerpt from Fitzgerald's The Great Gatsby. My own house was an eyesore, but it was a small eyesore, and it had been overlooked, so I had a view of the
An initial amount of money is placed in an account at an interest rate of 3% per year, compounded continuously. After six years, there is $1819.77 in the accoun
Describe the two major political parties in the United States and explain their ideas about how the country should be governed.
PLEASE HELP ME ON BOTH QUESTIONS ASAP!!!!!!! NO LINKS PLEASE
describing what are two factors that can increase the national debt?
The WPB worked with what part of American society during World War II? A. Factories B. Agriculture C. Schools
Please help!!!!!!!!!!!!!!!