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

Write the expression in factored form.m2 - n4​
The speed of a certain proton is 350 km/s. If the uncertainty in its momentum is 0.100%, what is the necessary uncertainty in its location?
Which of the following compounds solubility will not be affected by a low pH in solution? Which of the following compounds solubility will not be affected by a
in pedro's coin collection, 8% of the coins are gold. If he has 34 gold coins, how many coins are in his collection
Bacteria consist of a single cell and have no nucleus. What are bacteria called?
Archestratus wrote a treatise on food around 350 BC called?
How many quarters are in 16.37
Solve for M: -11E=2M
Letter from Andrew Oliver, Jr. to Benjamin Lynde, 6–7 March 1770 Terrible as well as strange things have happen'd in this Town since my arrival Skirmish after
Which of these must be included in a nonfiction text A) setting plot and resolution B) round and flat characters C)style mood and tone D)facts and informati