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

The concentration of an additive in a standard sample of palm oil was measured 6 times and the following results were obtained: 0.13, 0.11, 0.14, 0.20, 0.13, 0.
factorise 16 x²+ 4 y² + 9 z²​
what are two prevention methods of cardiovascular disease
Find out the names of the newspapers through which the congress members expressed their views about the British government in India.​
what is the slope of this line? ​
I need your help what is the meaning of math?
Type the correct answer in the box. Sam purchased a new car for $17,930. The value of the car depreciated by 19% per year. When he trades the car in after x yea
NEED HELP ASAP! Is Y=10x + 5 linear? And i need another linear equation!!!
ANYONE WHO KNOWS AND UNDERSTANDS LATIN PLEASE HELP!! I DONT CARE WHAT IT SAYS I JUST NEED HELP! Choose 5 days and record yourself saying in Latin what you do on
Which is the control center for the endocrine system? the thymus the hypothalamus the pancreas the thyroid