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

2.394inches per minute about how many inches will it travel in 7.489minutes.
contrition after robbing a bank. A. elation B. repentance C. recantation D. exoneration E. sequestration pick the best synonym
What events led up to the battle of Atlanta?
Josh has X Twix bars and Kevin has six more than josh if they have 22 bars of Twix in total how many bars does each boy have
How does WTO assist global trade?
Cheri doesn't remember that she got sick after eating oatmeal on several occasions in early childhood. however, whenever she smells oatmeal now she experiences
A sample of a gas in a rigid cylinder with a movable piston has a volume of 11.2 liters at STP. What is the volume of this gas at 202.6 kPa and 300. K? a) 5.10
After making a deposit, Puja had $264 in her savings account. She noticed if she added $26 to the amount originally in the account and doubled the sum she wou
PLEASE HELP QUICK! which statement would most likely be made by a supporter of sanctions as a tool of foreign policy? A. Free trade is the cornerstone of intern
How do you write forty and twenty-eight hundredths in standard form