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

Room temperature is about 20 degrees Celsius. Explain how you could convert this temperature to kelvin. Use evidence from the figure to support your answer.
calculate m-8-n if m=25 and n=7​
How does a person overcome adversity?
A university is building a new student center that is two- thirds the distance from the arts center to the residential complex. What are the coordinates of the
What rights do you have as a resident of Texas?​
Click to review the online content. Then answer the question(s) below, using complete sentences. Scroll down to view additional questions. Online Content: Site
4. Although bananas are grown in almost one hundred countries worldwide, Ecuador and Costa Rica are among the world's largest banana growers due to their climat
When 330 people are surveyed, 78 tick the yes box. Estimate the proportion of people who have lied to their boss about being sick. Round your answer to 1d.p
Are the following expressions equivalent 26-(-26) and 26+(-26)
Interactive media professionals are unique among other Information Technology professionals because they have very good job prospects and are highly paid. are c