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

Subtract: 6lb 4oz - 2lb 10oz
Subtract: 6lb 4oz - 2lb 10oz
Help me please. What Is Stonehenge?
what did Benjamin franklin feel strong about
what does the numerator tell us in fraction
What Is Geographic Mobility?
Ryker is given the graph of the function y= 1/2x^2 - 4 . He wants to find the zeros of the function but is unable to read them exactly from the graph. Find the
What are the essential 4 parts for a civilization to develop? Explain how rivers were the source of civilization?
what muscles are involved when you're tying your shoe laces
what's the square root of 135