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

What is square root of 126 + square root of 56 in standard form
The force between a pair of 0.001 C charges is 200 N. What is the distance between them?
A crime suspect fled the scene when police officers entered the building. How far could he run in 10 minutes if he can run 5 miles per hour?
What Was Jackson’s perspective on the McCulloch v. Maryland Supreme Court Case
wallpaper cost $2 per square yard how much would it cost to cover a rectangular wall that measures 15 feet by 21 feet
The ocular and objective lenses are found at the top and bottom of what part of a microscope?
What is square root of 126 + square root of 56 in standard form
three consecutive even integers have a sum of 168. what's the value of the largest integer?
the 42 foot tree casts a shadow of 63 feet. how long is a shadow of a 5 foot girl who is standing near it
What was Italy’s primary role in the WWII?a. It helped Germany in accomplishing its main objectivesb. It was helpful to Britainc. It caused problems for Japand.