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

Which sentence uses periods correctly? A. I saw a fox in the woods near Martin Rd on Jan. 8. B. I saw a fox in the woods near Martin Rd. on Jan 8 C. I
What is the interquartile range of the following set? 28, 45, 12, 34, 36, 45, 19, 20
What is the area of the trapezoid? A. 72 cm2 B. 104 cm2 C. 136 cm2 D. 208 cm2 i think either a or c
you estimate that 200 people attended a school concert. The actual attendance was 240 people. a. Find the percent error to the nearest tenth of a percent.
All right angles are _____ degrees
¿Cómo se pronuncia la palabra paella? a. epa-e-lla c. pa-i-ya b. pa-e-ya d. pa-ee-lla
The measure of angle A is 4 degrees greater than angle B. The two angles are complementary (sum is 90 degrees). What are the angles?
New Mexico denied Native Americans the right to vote on the grounds that -They could not pass a literacy test -they were not white - they did not pay taxes
π is the ratio of _______________ to _______________. A) area to diameter B) perimeter to area C) radius to diameter Eliminate D) circumference to dia
Find y when x = 5, if y = 12.6 when x = 14.