jaylanpersaud jaylanpersaud
  • 03-11-2020
  • Computers and Technology
contestada

write an if statement to test if a number stored in y is between 6 and 10 inclusive.

Respuesta :

Cytokine
Cytokine Cytokine
  • 03-11-2020

y = choose whatever number you want.

if 5 < y < 11:

   print("The value stored in y is between 6 and 10 inclusive")

else:

   print("The value stored in y is not between 6 and 10 inclusive.")

I hope this helps!

Answer Link

Otras preguntas

what is the property if h+12=22, then h=10
Please help me idk this
Please help! I am not sure how to set this up or what it is really even asking. (#2)
HELP PLEASE WILL GIVE ALOT OF POINTS
PLEASE HELP ASAP!!! CORRECT ANSWERS ONLY PLEASE!!! I CANNOT RETAKE THIS A comedian needs up to ten volunteers for a show. He needs no fewer than four female vol
A united states firm recently won a large contract with a company in bangladesh by providing government officials and company officials with american cars and p
Explain how the bacteria are able to attach firmly to teeth such that the bacteria can only be removed with scraping.
A recipe called for the ratio of surger to flour to be 10: 3 if you used 70 ounce of sugar how many ounces of flour would you need to use ?
Please help m idk this
If a reader encounters a section of text that he or she does not understand, what is one strategy to use to try to clear up confusion? start over from the