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

What is the average kinetic energy of a molecule of oxygen at a temperature of 300 k?
In three to five sentences, explain the purpose of informative/explanatory writing. (15 points)
use the law of cosines to find the value of cos. round your answer to two decimal places
I have to Write a report on the importance of the Battle of Saratoga. Including the strategy of the battle, the significant people involved, and the impact on h
I need help solving this and getting the and checking it?
In which of the following countries would you not find parrots naturally in the wild?
24 POINTS URGENT PLEASE HELP!! !!!!! Choose one of the secondary conflicts below. Using evidence from the text, explain how the secondary conflict you chose is
Reason for printing your document including all the following except
What is the probability that a 5-digit integer chosen at random is divisible by 5??
PLZ HELP ME WITH THISSSSSSSSS? with number 1