subject

Imagine that you were taking an incredibly difficult programming course. The stress of the course is starting to get to you so your doctor tells you to start regularly checking your systolic blood pressure. Unfortunately, the numbers are fairly hard to remember, you'd much rather know your pressure in common language terms. Create a simple branching statement to achieve this objective.
Specifications
Work on a new line on your existing notebook
Using a combination of input(), if, elif, and else, write a program that asks the user their blood pressure. Compare the blood pressure against the following chart and save the Status to a variable named BP_STATUS. At the end of the program, print a nice sentence with a formatting string to tell you your status and use .format() to replace the formatting string with your BP_STATUS.
Blood Pressure Readings
Start
End
Status
--
89
Low
90
119
Ideal
120
139
Warning
140
159
High
160
--
Emergency
Hint
Don't forget that the input of input is a string!
Expected Output
$ python -i task_05.py
What is your blood pressure? 120
Your status is currently: Warning!
Submission
Code should be submitted via Blackboard as a Jupyter notebook file.

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 16:30
Corey set up his presentation for delivery to his team.the information he had to convey was critical to their job performance.he knew he would need a lot of time to explain each point
Answers: 3
question
Computers and Technology, 24.06.2019 10:00
1. which of these is not true about torsion bars? a. they can be used to adjust ride height b. they can be adjusted anytime since they don't affect alignment angles c. they attach between the frame and the lower control arm d. they twist to produce a spring effect
Answers: 1
question
Computers and Technology, 24.06.2019 17:50
Which of the following best describe how the depth-limited search works. a normal depth-first search is performed but the number of ply/depths is limited. a normal breadth-first search is performed but the number of ply/depths is limited. a normal breadth-first search is performed but values above a specific value will be ignored. a normal depth-first search is performed but values above a specific value will be ignored.
Answers: 1
question
Computers and Technology, 24.06.2019 22:30
In writing a paper for his english class, gavin quoted an author of the book. what should he include in his paper to credit the source? citation caption header entry
Answers: 1
You know the right answer?
Imagine that you were taking an incredibly difficult programming course. The stress of the course is...
Questions
Questions on the website: 13722361