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

I need help on this Anna has $430. She wants to buy a phone that costs $275. Anna will also have to pay a sales tax of 7%. How much tax will Anna pay? What the
Evaluate each expression if d=8, e = 3,f=4, and g=-1 Help!!!
Which of the following words help define the national Identity of the United States? Select all that apply. education patriotism separation diversity equality
Zoe compares the price of a sweatshirt at two stores. At Store A, the sweatshirt costs $25. A friend told her that the sweatshirt costs 30% more at Store B. Zoe
What is the space called in a cell that holds water
Taylor is checking her bank statement for the month of November. She began the month with $175 in her account. She made two deposits for $100 each and also made
3) A 10kg object rests on a frictionless surface when it is struck by a 300N force. At what rate will it accelerate? 3m/s/s 30m/s/s 0.3m/s/s 300m/s/s
lol please help im horrible at this stuff, my daughter needs help on her math
Who is the leader of the state executive branch? O governor O senator O minister o representative
I'll give brainliest to correct answer TvT