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

By what other name was the American Party called? *ODemocrat PartyOThe Know-Nothing PartyOWorking Party​
Mathh help me outtt
The proof for the product property of logarithms requires simplifying the expression logb(bx+y) to x + y. Which property is used to justify this step?
solve for x , and round answer to the thousandths place -4x^2 + 4x+9=0
How would controlling the religious authorities allow the absolute monarch to maintain or consolidate power?
Where is Italy the homeland of the ancient romans on the map
A model is built having a scale of 1 in.= 100,000 ft. How high would a356,000-ft. mountain be in the model?​
America’s revolutionary war
a student claimed 7 and -7 are the two cube roots of 343 . Do you agree or disagree ? Explain .
What are five abiotic and five biotic in a tundra