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

The meaning of "apace" as it is used in the opening paragraph of the passage found in the article of "the cost of children" by Ruth Mace
Does the heroic code expressed in beowulf conflict with a christian sensibility?
It is unlawful in the State of Florida for any person to operate a motor vehicle unless each passenger of the vehicle under the age of ____ years is restrained
Given a polynomial f(x), if (x + 7) is a factor, what else must be true? Help plzzz im running out of time f(0) = 7 f(0) = −7 f(−7) = 0 f(7) = 0
Which statement best compares the rate of change of the two functions?
The type of nuclear division that leads to the formation of haploid gametes in both males and females
Sam is observing the velocity of a car at different times. After two hours, the velocity of the car is 50 km/h. After six hours, the velocity of the car is 54
Which of the following side lengths can form a triangle? 100, 200, and 600 41, 51, and 61 11, 14, and 26 10, 16, and 30 QUESTION 4 Two sides of a triangle have
How are the empirical and molecular formula related answers.coim?
How can littering negatively/impact the environment?