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

Find the percent increase: 24 to 36
What is the evolutionary basis for organisms in the class Mammalia?
A __________ has the letters and lines arranged to create a shape.  lyric poem concrete poem ballad poem haiku
Please help with #6 using pythagorean theorem.
Please explain whether it's true or false? Thanks
Gravity's pull in space
what is 22.9 % interest on a $3000 loan
how did alexanders conquest create hellenistic culture
The 13th, 14th, and 15th amendments were known as what
How do you do this problem? Y=x-2 Y= -2x+1