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 answer to 6[3+7(4-2)]
3.2 to the power of 2 is what?
you've located three books on a topic you;re researching for an essay. The first thing you should do in determining if any of these books will be useful
If your heart is not strong enough or efficient enough it is difficult to
what is the square of 1.1
Evaluate the expression when x = 5. 4x + 3 a. 12 b. 23 c. 32 d. 48 help
Are the equations 3x - -9 and 4x - -12 equivalent? Explain. Please Help!!
19/20 as terminating decimal
What are the distinct factors of 40
Scientists and historians believe that the time from prehistory to the development of agriculture spans more than two million years. a. True b. False