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

What is the relationship between organelles and homeostasis?
10^3x 10^2 equals a. 10^6 b.20^6 c.100^6 d.10^5 e.10^1
rewrite the logarithmic equation as an exponential equation: log27 3=1/3
A container has 1 pink block and 3 green blocks. Juan wants to make the probability of randomly selecting a black block equal to 50%. How many black blocks shou
What was the first to feature of miss Emily’s home
Hi, i need someone really really good with Spanish to help me with a packet in Spanish tomorrow.. Please help when you can. Thanks. I will post the picture tomo
Help! Please write the coordinates
Which of the following is an example of potential rather than kinetic energy? A) water rushing over Niagara Falls B) light flashes emitted by a firefly C) a mol
The sales tax in your city is 4.4% and an item costs $3 before tax. How much tax would you pay on that item?
A number of systems for pumping ions across membranes are powered by ATP. Such ATP- powered pumps are often called ATPases, although they do not often hydrolyze