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 factor affects the polarization of light by scattering?
true or false: for young people, it is more likely that they will drive too slow after drinking because of their natural risk-taling propensities.
What value dilemmas do sociologist face
3x/sqrt 4x+5 rationalize the denominator
What reason did the Soviet Union give for its expansion after world war two?
what is the greatest common factor of 76 and 92
Which characteristic is most closely associated with both Pol Pot’s government in Cambodia and Slobodan Milosevic’s government in Yugoslavia?
What is the area of the equilateral triangle with the length of each side equal to a?
Who has the most real power in the senate?
What is James Madison's main point in his address to congress?