emilyfudala emilyfudala
  • 08-11-2020
  • Computers and Technology
contestada

Write an expression that will print "in high school" if the value of user_grade is between 9 and 12 (inclusive).

Respuesta :

Cytokine
Cytokine Cytokine
  • 08-11-2020

In python:

if 8 < user_grade < 13:

   print("in high school")

You would just need to supply the value of the user_grade variable.

Answer Link

Otras preguntas

How is the death of a very large star different from the death of smaller stars
During the 1970s which piece of legislation to the national organization for women actively promote though it was never ratified
What is the cytoplasm?
How did the German idea of Lebensraum affect Europe?
Which dictionary definition of pungent is used in this sentence
Is there any _____ in the soup? a. meat b. meet
Given the following function, find f(-2), f(0), and f(4) f(x)=3x+4 f(-2)=Blank
Which is not a solution of the inequality: 33 - 3x ≤ -18A. 17B. 21C. 15D. 45
What is the area of this figure drag and drop the appropriate number into the box
Cheryl has $56 and wants to buy as many notebooks as she can to donate to her school. If each note book cost $1.60, which inequality shows n, the maximum number