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

i need a chart for this. i don’t understand what the question is asking, it’s asking for a past perfect conjugation box and idfk how to do it stop reporting me
LOTS OF POINTS PLS HELP What precautions must be taken for a safe trip afloat
who was the leader of russia during world war 2
find the value of x​
examples of letters to future self worth 20 points and brainliest
Joe receives an average of 780 emails in his personal account and 760 emails in his work account each month. After changing his addresses, the number of emails
is water a living, non living, or dead
A freshman English class at a certain college has 49 women and 20 men. If 5 students are randomly selected, what is the probability that they are all men? Ro
What two geometric properties do all polygons share?
4(2x - 1) + 2x + 2 = 28