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 68 divided by the square root of 4
what colors are birds are attracted 2
What do Frederick Douglass' words "America reigns without a rival" mean?
which expression is equivalent to x^4-y^4?
I need a Amazon tribe name please! Need for Monday
how many books did Harriet beecher stowe write?
after clicking the start button on your computer screen desktop what option would you then select to examine system components you might want to modify?
Which of the following molecules has polar bonds but is a nonpolar molecule? a. H₂ b. H₂O c. NH₃ d. NaCl e. CO₂ Can anyone explain this one?
Which of the following categories includes the most distantly related organisms? (A) family (B) species (C) class (D) genus (E) order
What do Frederick Douglass' words "America reigns without a rival" mean?