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

Which Amendment changes a government practice?
help please having problems
Please answer this question if you know how to !
The price of mangoes is currently $5.00 per pound. At this price, producers are supplying 4,000 pounds of mangoes. Point C on the graph shows the current equili
Help would be appreciated ASAP! Thank you!!
Where is plankton found? A.the surface of the ocean B.tropical rain forests C.all forest lands D.the bottom of the ocean
classical conditioning vs operant
Find the perimeter of a regular octagon if one side has a measure of 8 cm. A. 56 cm. B. 16 cm. C. 64 cm. D. 72 cm
Evaluate C (9, 3). 504 84 60,480 5,040
____ control the way one slide replaces another on-screen during a presentation