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

Which part in this excerpt from Theodore Dreiser’s “My Brother Paul” reflects Dreiser’s desire for acceptance?
How were United States senators chosen before the general population was able to vote for them?
What is the speed of a bus that travels 250 km in 2 hours
How to write 80a^3/4 in radical form
Tibet is the world's highest a. plateau. b. escarpment. c. steppe. d. valley.
People normally react negatively to anything labelled or regarded as being a new too of western imperialism.explain what you understand as western imperialism
What is convenience food?
Why is the world a globe not a cube or pyramid?
Puritans left Europe to escape religious persecution. How did they treat people in colonial New England whose religious beliefs differed from theirs?
solve the formula d=st for s