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

The "new immigrants" who immigrated to the United States after the Civil War primarily came from all of the following countries EXCEPT: A. Italy B. Poland C. Ir
Dave has 15$ to spend on an 8$ books and two birthday cards (c) for his friends . how much can he spend on each card if he busys the same card for each other ?
who were the first practicing muslims
Simplify. 26 + (–3) ∙ (–8) a. –184 b. –2 c. 2 d. 50
Frankie paid $11.75 for the movie ticket and $4.75 for popcorn and a drink. How much did Frankie spend? a. $7.00 b. $15.50 c. $15.75 d. $16.50
A character’s motivation — a. is a result of his or her actions b. must sometimes be inferred c. is dependent on the story’s point of view d. never changes i
How should you test a hypothesis?How should you test a hypothesis? by writing a mathematical equation by making a single observation by performing a controlled
How should you test a hypothesis?How should you test a hypothesis? by writing a mathematical equation by making a single observation by performing a controlled
What is 32.60 rounded to the nearest tenth
Subtract. 8 ½ - 2 2/3 = 6 1/36 1/65 1/65 5/6