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 percent change if a bike cost $100 last week and this week it cost $150? Round to the nearest whole percent if necessary. Is the percent change an i
What is the density of a billiard ball that has a volume of 100 cm3 and a mass of 2.5 g?
Which of the equations below could be the equation of this parabola?​
what is gender? please​
I Need Help on these science questions
PLEASE HELP ME!!!!!!!!!!!!!!!!!!!!!!!!!!
what is the central element in the “Evolutionary Theory”
A student factors 15c2 + c – 28 to the following. (c + 2)(15c – 14) Which statement about (c + 2)(15c – 14) is true?
Help math math math math
Which term names the container that holds the gear box and generator in a wind power system?.