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

jessicas shoebox is 20 centimeters long and 10 centimeters wide. how many more millimeters is the length of the shoebox than the width
If y=2 when x=3. What is the value of y when x=9?
Why do automobiles rust more easily in wet climates than drier climates?
what was the first industry to be regulated by the united states goverment?                                               a. oil   b.meat packing  c. steel  D.
Why did Allies plan to land in Normandy and not somewhere else?
How do you find the interior angles of a triangle, if only one is given angle is given to you?
What is the answer to split 56 in the ratio of 3:4
what is greater 0.7 or 7/9?
In the top row of an chessboard, Tom writes the values 1, 2, 4, 8, 16, 32, 64, 128. In the leftmost column, Tom writes the values 1, 3, 9, 27, 81, 243, 729, 2
Which physical feature has most limited the movement of people living in North America ?