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

since sugar comes from food, which system would directly affect blood sugar levels? respiratory muscular skeletal digestive
what is the nth term of the geometric sequence 4, 8, 16, 32, ... ?
order these numbers from least to greatest. 8420 , −0.45 , 17 , −818
Un hombre vende1/3de su finca alquila 1/8 y lo restante lo cultiva que porción cultiva
A scatter plot is made with the data shown: Number of People Mowing a Golf Course 2 3 4 5 6 7 8 9 10 Time Taken to Mow the Golf Course (hours) 16 13 10 8 7 6 4
which ingredient would a company that makes super-sour candy most likely use in large quantities?
1.Where is the number 3 − 7 located on a horizontal number line? A: 4 units to the left of 3 B: 7 units to the left of 3 C: 4 units to the right of 3
which synonym for necessary most strongly suggests a life-saving need? a: forced b: obligated c: required d: vital
which type of burn involves destruction of the epidermis, dermis, and subcutaneous layers of the skin? a. first degree b. second degree c. zero degree d. third
which is the more conservative of the two major parties in the united states? the green party the democratic party the republican party the libertarian party