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

Kasi is building a patio. he has 136 bricks. he wants the patio to have 8 rows, each with the same number of bricks. how many bricks will kasi put in each row?
why did spartan leader favor a military society
how is the shape of an organelle related to its function?
If the moon is a waning gibbous at 9pm, what will be the phase of the moon at midnight?
Mientras por competir con tu cabello oro bruñido al sol relumbra en vano; mientras con menosprecio en medio el llano mira tu blanca frente el lilio bello; mient
Sarah is collecting recyclables for a science project. on the first day she collects 35 recyclable objects. on the second day she has a total of 52 recyclables.
What are some of the forces at work on American English today?
If a substance evaporates easily, it is said to be what?
surgical that end in ice
This painting is an example of a _____ as with many other