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

281 480 100 what place value is the 8 in
In any good experiment, the scientist needs to (fill in the blank) the hypothesis.
is a turtle a uncellular or multicellular
What happened when the united nations divided palestine into two separate countries? a. The price of the oil went down. b. Jews in the religion became angry c
Is it true or false you get (2,12) after you solve 3x-1/2y=0?
shelley spent 17 minutes washing the dishes. she spent 38 minute cleaning her room. Explain how can use mental math to find how long shelley spent on the two ta
frodo ran 2 3/5 miles in 7/12 of an hour. how many miles xan frodo run in one hourm
what is the square root of 1026?
New farming arrangements led to a. a focus on cash crops. b. the rise of cities in the South. c. rural prosperity in the South. d. more black ownership of land.
What was a consequence of violating the Sherman Antitrust Act?