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

A basketball team played 15 games and won 80% of them. If the team expects to play 30 games in all, how many more games must it win to finish theseason with a 9
What is the slope of the line that passes through (1, 4) and (1, -3)?
You have a budget of US$75 per day for your client’s Search campaign, and you’d like to set a maximum cost-per-click (max. CPC) bid of US$1. How can you validat
In the data set, what is the variance? 6 8 1 9 4​
A 0.0220 kg bullet moving horizontally at 400 m/s embeds itself into an initially stationary 0.500 kg block.
Consiste de los personajes el tiempo y el lugar de un cuento
On a coordinate grid, both point (−4, −1) and (2, 6) point are reflected across the y-axis. What are the coordinates of the reflected points? (4, 1) and (−2, −
According to Plato and Aristotle, what is human purpose or function? to provide for the next generation to lead the life of an intellectual to do good works to
what 42 rounded to the nearest ten​
If f(x) = 4(3x – 5), find −1 ().