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

Who best promoted the principle of uniformitarianism? A. James Hutton B. Charles Lyell C. Charles Darwin D. Jean Baptiste Lamarck
a mother places her hand on a hot stovetop. The stimulus reaches the sensory neaurons of her fingertips. What nerve pathway will this stumulus signal contunue t
Who best promoted the principle of uniformitarianism? A. James Hutton B. Charles Lyell C. Charles Darwin D. Jean Baptiste Lamarck
I need help with finding the answer of 21 laps in 7 minutes
Why do people who run down ponies often get sore throats? It's on my math worksheet.
3x+4y=2 4x-4y=12 elimination
What is one way local governments are similar to federal governments?
What happened to all of the heat Earth had when it formed
Canada is bigger than the united states,but only has ______ as many people. 1)one-half 2)one-fourth 3)one-eighth 4)one ninth
what are four equivalent expressions for 50-10 , 42+18 , 24x-8x , 5n+15n , 4(2+7p) , and 3(6m+3)