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

If the smallest angle of rotation for a regular polygon is 18°, how many sides does polygon have?
A buffet offers ranch or caesar dressing. The ratio of ranch dressing used to caesar dressing used is 8:3. If the buffet uses 72 cases of ranch dressing, how ma
what is the need to classify organisms
What was the main reason for the Indian wars during the second half of the 19th century?
find the perimeter of a trapezoid with sides that measure 16.1 inches, 6.32 inches, 8.0 inches, and 13 inches.
group benefited most from the policies of President Calvin Coolidge
"The table shows how Emily's essay will be scored. What was Emily's overall score? a. 18.75 b. 25 c. 25.75 d. 28"
A group organisms that are similar and can produce offspring is called a what
What is a benefit of increased physical fitness?
Use synthetic division to solve (3x^4+6x^3+2x^2+9x+10) divided by (x+2) What is the quotient? Please help.