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

Which component of skill-related fitness would most help a shot-putter increase the distance of his or her throw? -speed -balance -agility -power
An isosceles triangle has a perimeter of 8.5 cm. A second isosceles triangle, whose base is equal to that of the first but whose legs are twice as long of the f
What is the closest relative of canis lupus?
Your middle school has 900 students one third of the students bring their lunch instead of buying your lunch at school what is the value of the ratio of the num
Express the number 20000 as a single digit integer times a power of 10
Jason is saving up to buy a digital camera that cost $490. So far he has saved $175. He would like to buy the camera 3 weeks from now. Write an equation and sol
During the process of steel production, the flaws in steel casting are detected by a. ultrasonic vibrations. b. infrasonic vibrations. c. resonant vibrations. d
Explain why silicon dioxide is a suitable material for lining furnaces
Solve for a : C + 3a = 7
If Theresa's daughter is my daughters mother then who am I to Theresa?