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

Joseph _______ a scuba diving vacation in California. What is the Simple Present Verb Tense?
A plant is 14 inches tall. If it grows 3 inches per year, how many years will it take to reach a height of 38 inches?
What enzyme corrects errors during replication? ​ DNA ​ polymerase ​ DNA ​ ligase ​ DNA ​ lactase ​ DNA ​ helicase
A ring-shaped region is shown below. Its inner radius is 18in, and its outer radius is 22in. Find the area of the shaded region. Use 3.14 for π. Do not round y
I need help solving this??
How could you express this situation in conditional terms? The lake is full because it rained fifteen inches this year. If it rains fifteen inches during the ye
What types of military jobs did women take in World War 11? air traffic controller jobs combat jobs jobs in munitions factories jobs in shipyards
I need help with this math problem thx
Is GLaDOS from portal 2 possible?
encouraged the separation of ethics from religion. A)Morality B)Deism C)Panthesism D)Absolutism