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

Millions of Americans rely on caffeine to get them up in the morning. Here's nutritional data on some popular drinks at Ben's Beans coffee shop: Drink Type Calo
A farmer and a teacher, a hoo ker and a preacher Ridin' on a midnight bus bound for Mexico One was headed for vacation, one for higher education And two of them
i am so confused How are Salts formed ? a) by the covalent bonding of neutral atoms b) by the covalent bonding of oppositely charged ions c) by the iconic b
The image below represents part of what process? (4 points) Mitosis Meiosis Conjugation Binary fission
what is the domain and range of f(x) = 3- √x?
Find an equation for the perpendicular bisector of the line segment whose endpoints are (-1,-5) and ( – 7,7).
95 to 155 as a percentage
Select the correct answer. Choose the phrase that best completes this sentence: Je ne t'entends pas. Il faut que tu parles OA. en français OB. à voix basse O C.
The ballad of songbirds and snakes: What Happened after Coriolanus got into the truck with the tributes? a - the truck was filled with gas that made him and th
Find the equation of the line perpendicular to 2x + 3y = -5 and passing through (3, -5). Write the equation in standard form.