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

how many electrons are in the third energy level of a calcium atom
Soldiers returning from war may suffer from this type of disorder. a. o-c-d b. p-t-s-d c. a-d-h-d d. bipolar disorder
a factory bottles 511 bottles of juice in 7 minutes. find the factory's unit rate of bottles per minute
One number is eight more than twice another. if their difference is 25, what is the larger number? 17 42 35
errors in genes that result in the production of defective proteins are called ?
what is the product of the binomial (x+4)(x+3)
How can we study medical from beginner ? And which book is good ?
simplify;9h-12h=54-23?
why does dust finger read the ending of the story when he has the chance in meggie's bedroom? What stops him?
compare and contrast mental health and emotional health