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

____ stands for the amount of money needed to go on vacation.
does anyone know the river source and river mouth of the parana river
Can you guys help me with this please thank you so much with all that
help me with geometry plzzzzzzzzzzzzzzzzzzzz
sculptors choose to work with marble because it is
¿Dónde y a qué hora es la recepción? Según la invitación, ¿qué van a hacer en la recepción? ¿Qué actividad de la fiesta de quince años te gusta más?
what should be changed to make the following sentence true? hostile aggression is motivated by achieving a goal and does not necessarily involve intent to cause
What is the slope of the line passing throug? the points (1, 5) and (4, 1)?
English - Hey, so I'm starting a little business. I'm going to be customizing shoes. If you want a pair of shoes please tell me. I will be putting another post
What makes working in a trade special and What do you think might be the pros and cons of working in a trade?