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

The unification of Italy and Germany was masterminded by strong leaders who relied on (realpolitik - popular sovereignty - liberalism). The main leaders were Ot
Which organ is able to exact dissolved oxgyn from water?
What is 2 3/8 simplified?
How to solve it and what the answer is
What are archons in athenian democracy?
Give 3 visible examples of motion that is caused by forces from non-living things
Add the two expressions. 8k + 4 and 3k + 8
what is a carbohydrate?
In 1994 the zapatista army of national liberation began activity in mexico which of these best describes the methods used by the zapatistas
The single-celled paramecium illustrates an important characteristic of life. That is A) evolution. B) locomotion. C) reproduction. D) consuming food.