unknown152714 unknown152714
  • 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. only an if statement.

Respuesta :

Cytokine
Cytokine Cytokine
  • 03-11-2020

y = whatever value you want

if 5 < y < 11:

   print("Your number is between 6 and 10")

Answer Link

Otras preguntas

Please answer theses division problems!! 9 divided by 3/7
the bombing of Hiroshima and Nagasaki resulted in
A light bulb converts electrical energy into electromagnetic energy is true or false?
the area of a rectangular garden is 38 1/4 square meters. the width of the garden is 4 1/2 meters. find the length of the garden
p(x) x^3+x^2-x-1 Find all zeros of p (x)
accurate estimation 719-348
Who was the Queen of England when Shakespeare first became known as a great playwright? A. Elizabeth I B. Mary Tudor C. Victoria D. Anne Boleyn
In which sentence does the prepositional phrase act as an adverb? A. Last evening, Anne suffered from a headache. B. The door to the attic was left open. C. Mr
Did feudalism create a stable form of government?
(3x^2 + 2x -2) + ( -2x^2 + 5x+5) My answer 5x^2 + 7× +7 Am i right