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

Question # 41) Brett is 18 years younger than Mark. Carl is 10 years youngerthan Mark. The sum of the ages of Brett, Mark, and Carl is 212How old are each of th
In the olden days the thunder and lightning lived on the earth amongst all the other people, but the king made them live at the far end of the town, as far as
Simplify . 16x3y2/36xy2z3
if AB=16 then AD is?​
Plot 3/8 number line
What is the first step to take when solving this linear system of equations by the addition-subtraction method? 2x + 4y = 3 x + 3y =13 A) solve for y in terms
You are treating Patient T, a 22-year-old male. Enrolled in university has caused a significant amount of stress which has resulted in Patient T developing an e
For the quadratic equations shown here, which statement is true?
What power does the president not have
Dora is conducting a performance appraisal for Sue, one of her employees. The company's performance appraisal form asks her to rate Sue's performance on various