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

During the day, the sun appears yellow in the sky. But as sunset approaches, the sun appears to change color. This can be explained by the A) absorption of yell
the volume of a cube is given by s3, where is the side length of the cube what is the difference of the volume of two cubes with side lengths of 5 meters and 4
Read the excerpt from Kant's "What is Enlightenment?" and answer the question. But should a society of ministers, say a Church Council, . . . have the right to
whats 600 x 109302 plz help
Please help me due in about an hour I thought it was going over 9/1 but I got lost this is a dumb question sorry
Three more than the quotient of c and 4 is 5
BRAINLIEST + POINTS There are 30 red soda cans and 20 green soda cans in an ice chest. What are the odds of reaching in and grabbing a green can? A. 3 / 2 B. 2
if f(x)=3^x + 10x and g(x)= 2x - 4 find (f-g)(x) A: 3^x + 12x -4 B: 15x - 4 C: 3^x - 8x+4 D:3^x + 8x+4
Samuel de Champlain is credited with founding these two cities. Quebec and Detroit Montreal and New York Ottawa and Edmonton Montreal and Quebec
What does the rule of five say?