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

Is transmit suffix tion sion or ic
Experience with unavoidable negative stimuli can lead to a particular deficit in avoidance learning called _____. observational learning instinctive drift learn
Approximately how much did the United States owe to other nations at the end of the Revolutionary War? A) twenty million B) twelve million C) tw
what is Martin Luther king Jr purpose in 5th paragraph
Which of the following was NOT a classical composer? A) Mozart B) Haydn C) Yanni
What is the main function of Cellular respiration (1) using carbon dioxide (2) releasing energy (3) producing oxygen. (4) circulating blood.
Who were the gernerals who fought in the cicvlil war?
Complete this statement: The sum of the measures of the exterior angles of an n-gon, one at each vertex, is _____ degrees.a) 360b) (n-2)180c) [tex]\frac{(n-2)18
if your good at science please help
Indicate a general rule for the [tex] n^{th}[/tex] term of this sequence. -6a, -3a, 0a, 3a, 6a. . . A.] [tex] a_{n}=3an+9a[/tex] B.] [tex] a_{n}=-3an-9a[/tex] C