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

Environmental pollution disturbs the ecosystem. Explain.​
3. Which swim_backwards method is called when sammy.swim_backwards() is executed? Why?
!!!HELP NEEDED NOW!!! 30 POINTS!! WOMEN IN ENGLISH SOCIETY (IN SHAKESPEARE'S TIME) 3. Describe the public humiliations - carting, bridling, ducking stools, etc.
What is the reciprocal of 4/7
Reducing waste benefits your shop by cutting down on pollution and __________. A)Lowering costs B)keeping employees healthy C)Reducing tripping hazards D) Impro
The author uses an analogy in paragraph 5 to introduce which central idea? O A Video gaming is like chess. O B. Video gaming is an oxymoron. ОС. Video gaming is
Which president deport the most illeagal aleans.
100 pt I NEED HELP ASAP LOOK AT THE PIC AND MATCH THEM PLZZ!!
Are donuts good for your health?
If n is a positive integer, how many integers from 0 through 2n must you pick in order to be sure of getting at least one that is odd