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 ancient civilization is associated with the Twelve Tables, an extensive road system, and the poets Horace and Virgil?
How is 3x-y=8 and x+2y=5 solved by combination (addition)?????
Hassan's backyard swimming pool is 30 feet long, 20 feet wide, and 5 feet deep. There are 7.5 gallons of water in 1 cubic foot. How many gallons of water will t
A particle travels in a circle of radius 82 cm and with a centripetal acceleration of 4.7 m/s2. How long does the particle take to complete one revolution?
where does the shadow of the shuttle in space form?
Describe a pattern in the sequence of numbers. Predict the next number. 1) 1, 2, 6, 24, ___ 2) 0, 3, 8, 15, 24, ___
select the product of (3x-4)(3x4)
where will you find maximum rate of evaporation - ocean, pond or an aquarium? Give reason to support your answer.
graph y=3sinx and y=sin 3x on the same axes. label the graph of each function.
Find the length of the radius of the following circle. (x + 2)2 + y2 = 10