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

c) Find the percentage of the instructors who are with the case based strategies (out of the subtotal).pls help​
why is ethan upset about what he read in the book
Given the pattern rule Tn=n2-1 what are the first 3 terms of the pattern
What was the government looking for in the Pacific?
How does our modern, Western society compare to late 19th century Igboland when it comes to viewing others as humans beings?
name three things that you can do to keep the children attention​
Which function is represented by the graph?
Which output device allows a user to create a copy of what is on the screen? printer speakers earphones display or monitor
Explain what is meant by "flight or fight" response. In your answer, describe the role played by the endocrine system, physical changes in the body and how the
Kyle recorded his height, in inches, from age 6 to age 18. The graph below shows the data that he recorded as a function of his height over time. Kyle plotted m