Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Question 2 A simplified version of the hypertension (high blood pressure) categories defined by the American Heart Association is defined in the table below. Category
Question 2 A simplified version of the hypertension (high blood pressure) categories defined by the American Heart Association is defined in the table below. Category Systolic pressure Diastolic pressure normal less than 120 AND less than 80 prehypertension between 120 and 140 OR between 80 and 90 high blood pressure greater than equal to 140 OR greater than or equal to 90 The systolic and diastolic pressures are real-valued numbers. Write a Python program that prints out the hypertension category given the systolic and diastolic pressures as command line arguments. For example: python bp.py 115.5 79.1 normal python bp.py 120.0 75.0 prehypertension python bp.py 140.0 95.3 high blood pressure
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started