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

Someone please help me out ??
I will make you brainliest! Very Easy question!!!! How can you define synthetic material and natural material?
which of the following accurately describes the function of motor neurons?
How can a word’s part of speech and its function in a sentence help you understand its meaning?
Will mark brainliest, please answer:) Find the value of PQ . Round the answer to the nearest tenth. Explain ( Use Pythagorean Theorem 3D rule and Question is a
1. At Monmouth, what did the Continental soldiers demonstrate?
god of the living and the dead in ancient egypt
How do you solve this?
Stella is 16 years old. She earned $3,500 this year at a local ice cream shop, and another $3,500 in cash babysitting her neighbor’s son. Does she need to file
Hay’s Japanese American treaty allowed trade with that nation. True or false