unknown152714 unknown152714
  • 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. only an if statement.

Respuesta :

Cytokine
Cytokine Cytokine
  • 03-11-2020

y = whatever value you want

if 5 < y < 11:

   print("Your number is between 6 and 10")

Answer Link

Otras preguntas

What established the Federal Deposit Insurance Corporation (FDIC), with the greater goal of restoring public confidence in the banking system? Agricultural Adju
What was the Atlantic Charter? A. an agreement made at the Yalta Conference between Roosevelt, Churchill and Stalin to divide up Germany after the war B. an ag
I didn't know you liked her' or 'I didn't know you like her'
Which of the following is not a true statement? Answers: Carbohydrate from food is especially easy for the body to store as fat. Protein is used to build muscle
Which event must always occur for a chemical reaction to take place?(1) formation of a precipitate(2) formation of a gas(3) effective collisions between reactin
What is the participle in this sentence? The purring cat seems content, but it was whining earlier
What pamphlet convinced many that the American colonies needed to make a formal break with Great Britain? a. Common Sense b. The Social Contract c. The Wealt
Foreign speakers learning English often use dangling modifiers. a. True b. False
A sample of food containing one type of a large molecule was treated with a specific digestive enzyme. Nutrient tests performed on the resulting products sho
What is the total number of valence electrons in an atom of sulfur in the ground state? A. 6 B. 8 C. 3 D. 4