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

Problem solving is an active effort to attain a goal that is __________. a. physically but not cognitively attainable b. impossible to solve c. not readily a
Could you guys help me with these questions?
plants use carbon dioxide, nutrients in the water and sunlight to produce _________.
Who owned everything in Egypt? a. shah b. pharaoh c. people d. priests
Divide: x^10/x^4. thank you very much
Which of the following is a brass instrument? a. English horn b. Piccolo c. Flute d. French horn
What is the ability to bounce back from setbacks or disappointments?
__________ is not one of the major concerns of overpopulation. a. Competition for Earth's resources b. More pollution c. Animal populations increasing d. In
to add a new guide to the slide press ____________________ and then drag an existing guide
In " Homesick," why does Jean finally tell Lin Nai-Nai to say "good day" rather than "sewing machine"?