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

Anyone know this? Any help would be appreciated
What is the basic structural unit of the body? nucleus, organ, tissue, or cell help please!
Consider the diagram. The congruence theorem that can be used to prove △LON ≅ △LMN is
According to the video what will happen when a person ducks and covers during danger apex
Given: ΔАВС, m∠ACB = 90°,m∠ACD = 30°,AD = 8 cm. Find: CD, Perimeter ΔABC Please solve!
Which of the following is not part of your identity?
What percent is 72 of 120???
Suppose that a standard 6-sided die is rolled twice. what is the probability that the first roll will be odd and the second roll will not be a 5?
The product of two integers is 72. One number is two less than five times the other. Which of the following equations could be used to find one of the numbers?
Which best explains why there could be more than one claim about the disappearance of the dinosaurs?