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

Can someone help me with this please
What are two reasons why dumplings cook faster in oil than in water?
Why do you think the students of Kookaburra admired Claude’s Individuality but rejected Adele’s?
What will be the bond angles for an sp3d2 hybridized atom participating in six identical single covalent bonds
How did the indians adapt to the new conditions that were created by colonization.
Lee bought a T-Shirt originally priced at $55 that was reduced in price by 40%. What was the reduced price?​
A number decreased by 19, divided by -6, is no more than 5.' ality:
solve the inequality for x. 5 is greater than or equal to 4x+9 . simplify as much as possible
What did the Ten Commandments reveal about the relationship between God and the Hebrew people? Question 2 options: They showed that God was in control and peopl
what is a common result of teen alcohol use​