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

Can someone help me with this please??? Describe in words what you will do to solve this. You do not need to solve. -3x = 12
ANSWER ASAP! In your own words name two types of acids and two types of bases. Describe how each are used.
What is the function of context clues? A. to provide more information about a main idea B. to help deduce the meaning of an unfamiliar word C. to distract from
i give braniest Drag the tiles to the correct boxes to complete the pairs.This table gives the masses of several planets.Planet Mass (× 1024 kilograms)Mercury 0
Can some one help me?
Which of the following are ways to prevent reproductive diseases and disorders?
Choose the equation that relates work to force and distance. a work = force distance b work distance force c с work = force x distance d work = force + distance
I need help with all of them. Please look at the picture. Thanks.
The part of the ear we can see is the: A. inner ear. B. outer ear. C. middle ear. D. ear drum
7 years older than 2 times kates age what is the number if kate is 3