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 minimum percentage of gasoline stations that had prices between $3.37 and $3.61
fraction - write the equivalent mixed number : 50/7 = ? (7 1/7)
Under his leadership, they formed a Free French government
Why the federal government was unable to maintain order in the new nation?
How has the idea of citizenship changed throughout history?
what happens when a peppermint is put in these three things soda, vinegar, lemon juice, and milk plz help me i need this for my science project due in exactly 2
2x +3y =12 Dan 3x-1y=7
What is 0.78 divided by 3.51??? (Decimals)
What was the main purpose of one of the first world organizations, the League of Nations? to serve as a court of justice to try war criminals to provide aid to
One isotope of oxygen has 8 protons and 10 neutrons. Which is the correct reference for this isotope? A. oxygen-18 B. oxygen-10 C.<--------? oxygen-8 D. oxyg