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

HELP ME PLEASE I NEED YOUR HELP
Write the equation for each graph. PLEASE HELP ME ON BOTH !!
Sophia wants to enlarge a 5-inch by 7-inch rectangular photo by multiplying the dimensions by 3. Find the area of the enlarged photo. 5 points 35 sq. in 315 sq.
3/5-the square root of 5
Which geographic area does the Loire River flow through? Normandy England Aquitaine Ireland
Math help true and false must hurry
Joe spent $45 on a new pair of tennis shoes. If the shoes were on sale for 25% off, what was the original price?
use used to a) there weren't any tree in the jungle .​
True or false Certified wood comes from trees grown in sustainable forests. Group of answer choices
Please help me out on all of these !! Thank you