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

Write 3/5, 1 2/3, 15/7, 1/2, 2 5/8, and 9/4 in order from least to greatest!!!
how do you solve the equation 2s+3=14s
Subtract: 6lb 4oz - 2lb 10oz
Does a scalene always have to have unequal sides?
solve for y.try factoring first,if factoring is not possible or difficult use quadratic formula,(y2  2isabovey -10y+23=0)
During the Renaissance, along with the importance of God, who else did people had value?
Give five rational numbers lying between 3/5 and 4/5. Insert six rational numbers between 3 and 4.
Solve by elimination:4x+7y =8-8x -14y= 5
what is the full definition of adaptation?
WHAT IS 123456567890*1423 THAT MEANS TO DIVIED PLEASE TELL ME THE ANSWER