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

kira is drawing a map of her state with a scale of 1 inches 30 miles the actual distance between park city and gatesville is 80 miles how far from gateville sho
True or False (correct if false): In return for free land, settlers in Texas had to agree to support Mexican independence from Spain.
The The geometrics decide to play a concert in the gym. The gym measures 100 feet long by 60 feet wide by 30 feet tall. The band asks the stage crew how loud th
why does it takes 3 copies of 1/6 to show the same amount as 1copy of 1 / 2
how many terms are in this expression? 2xy-3x
what problem was causing conflict between European and Latin American nation
What types of gas molecules typically diffuse and effuse faster?
What is a dependent variable?
Kelsie sold digital cameras on her website. She bought the cameras for $65 each and included a 60% markup to get the selling price. To the nearest dollar, what
Algebra- Find the unknown digit to make each statement true 1. 2.48 > 2.4 _ 1 > 2.463 2. 5.723 < 5.72 _ < 5.725 3. 7.64 < 7 _