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 the value of y when x= 2.5
10,25,35,45... What's the pattern?
I NEED HELP PLEASE !!! What is the value for x? Enter your answer in the box. x =
ASAP WILL MARK BRAINLIEST AND 20 POINTS What is meant by the term The Law and how was it written?
A rectangular laundry hamper is 3 1⁄4 feet tall, 2 1⁄3 feet long, and 1 5⁄6 feet wide. What is the volume of the laundry hamper? *
Ivan has a $500 bond with a 5.8% coupon. Ivan purchased this bond for $515. What is the yield of this new bond?
Suggest how you would go about validating a password protection system for an application that you have developed. Explain the function of any tools that you
Find x in this proportion. x/3 = x+2 /5 x = -1 1 2 3
What is missing in the alpine tundra that is present in the Arctic and Antarctic tundra? a.) animals b.) permafrost c.) trees d.) cold temperatures
How many grams of krypton gas would occupy 1.34L at STP?