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

Solve the following quadratic equation. A. x = 11 and x = 13 B. x = -11 and x = -13 C. x = -11 and x = 13 D. x = 11 and x = -13
i need help lol if you can do this for me that would be amazing. its long and 20 Q.
Will give brainlestThe figure is made up of a cylinder and a cone. What is the exact volume of the figure? Enter your answer in the box.​
A car travels 60 km in 40 minutes.
please help 20 points
WILL MARK BRAINLIEST Simplify this expression– (3x + 9 – 2x)
What is the purpose of this excerpt from President Wilson's speech? O to call for a League of Nations to support freedom on the seas What we demand in this war.
During which phase of the writing process is it best to have other people review your document O Pre-writing O Drafting Revising O Publishing
Gabby made a sandwich that is 0.20 meter long. Each bite that she takes has a length of 0.03 meter.What is the length of the sandwich that remains after Gabby t
If you help, i give brainliest!