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

Foundational accounting concepts are generally taught in which course(s)?
Nuclear Chemistry homework help ?? Problem 1 please
Define the proportional relationship between two quantities. If lemons and lemonade cups are in proportion how many lemons will be needed to make 15 cups of lem
what tools can scientists use to measure the volume of liquid
Solve the following system of linear equation using any algebraic method. If possible, check your solution. 2x-5y=3 X-2y=7
Find the supplement of an angle whose measure is 74 degrees and 51 minutes
How many 3 digit positive integers are odd and do not contain the digit 5?
One-half the square of b
How does the house have exhibit the seven characteristics of life
Simplify the expression: Sqrt(16 − x^2) as much as possible after substituting "4 sin x" for x.