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

How is it possible for Mercury to have frozen ice ?
how is mass transit in cities a possible solution tk urban air pollution?
what is the answer for (20,8),(9,16) ?
how is mass transit in cities a possible solution tk urban air pollution?
find an equivalent expression without parentheses -(50x-15y+15)=
how is mass transit in cities a possible solution tk urban air pollution?
find an equivalent expression without parentheses -(50x-15y+15)=
Can someone use the word delta in a sentence
how is mass transit in cities a possible solution tk urban air pollution?
Can someone use the word delta in a sentence