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

similarities between lincoln and kennedy
Historical claims that are logically and factually strong are said to have ? A. Causation B. Bias C. Correlation D. Validity
Why do some people consider the way the media cover candidates for public office bad for democracy?
do you need internet to play xbox one
a scientist claimed that he cloned a guinea pig to produce 2 offspring a male and female. the claim is not valid why
which answer best explains how certain patterns of histone acetylation or dna methylation could influence whether a cell became a muscle cell or a brain cell?
yeast infection treatment
how many elements in the periodic table
adjectives that start with e
what are the key differences between total and annular eclipses