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

.....................​
help me please!!!!!!!!
How do you calculate percentage or find the per cent value
If each side of a cube is doubled, its volume?​
Surveys tried out on a small number of people before they are used with a larger group of people are known as ____________ surveys. A. predominant B. pilot C. p
If anyone can tell me what my face looks like, then you are a good explorer
What is the mode of the data shown in the table? Scores: 5, 12, 13, 18 Frequency: 3, 2, 5, 4 A. 12 B. 13 C. 51.5 D. 12.5
Determine the pattern for the following sequence and find the next two terms: 1, -2,4,-8, ...
Look at the image for the question?
If Evan does a job in 168 hours and with the help of Emma they can do it together in 56 hours, how long would it take Emma to do it alone?