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

Can someone help with the polynomials? Please
In Living to Tell the Tale, which statement from the excerpt most stronglyshows that the narrator feels empathy toward the thief​
Conduct an Internet search to locate two public companies within the same industry. Make sure that you can access the entire set of the company’s financial stat
The amount of water a body requires for survival is dependent upon the climate and the individual’s level of physical activity. Please select the best answer
How many solutions does this system have? 12x-4x=-8 y=3x+2 One two an infinite number no solution
Translate this sentence to French! (BTW I'll give you 33 points) She is such a stupid policeman who is sitting on the ppor toilet. *BLESS THAT TOILET*
I really need these two it’s okay if you can do one.
Someone answer this please
Slavery in the Roman Empire had its GREATEST impact on
A container has 1 pink block and 3 green blocks. Juan wants to make the probability of randomly selecting a black block equal to 50%. How many black blocks shou