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

Select all that apply. Which of the following can function as adjectives? a) infinitive phrase b) gerund phrase c) participial phrase
Why is the Answer I really need to know.
What device has a cartoonist used to show what happened to American shipping during the embargo of 1807
what happens to the total charge of the compound after the ions bond together?
What leader of Russia sent out advisers to study the great religions of the world and shows orthodox Christianity for his people
What element is found in both DNA and RNA
You have 7 cups of flour. It takes 1 cup of flour to make 24 cookies. The function () = 24 represents the number of cookies, , that can be made with cups of fl
Which are examples of themes? Check all that apply. Time heals even the deepest wounds. True friendship knows no boundaries. Vases can be considered a type of
What did the court rule in the 1970 case of in re winship?
Identify the value of x that makes each pair of ratios equivalent. 2:x and 12:18