Answered step by step
Verified Expert Solution
Question
1 Approved Answer
3.) Write a function called is_normal_blood_pressure that has two integer parameters. The first represents systolic blood pressure (the top number in a blood pressure
3.) Write a function called is_normal_blood_pressure that has two integer parameters. The first represents systolic blood pressure (the top number in a blood pressure reading). The second represents diastolic blood pressure (the bottom number in a blood pressure reading). The function should return True if systolic is less than 120 and diastolic is less than 80 (i.e. blood pressure is normal). Otherwise it returns False. Here are some examples of calling the function with different arguments. (The code executed is in blue, the value returned by the function is in green): is_normal_blood pressure (120, 80) --> (119, 80) --> (119, 79) --> (120, 79) --> is_normal_blood_pressure is_normal_blood_pressure is_normal_blood_pressure False False True False
Step by Step Solution
★★★★★
3.51 Rating (164 Votes )
There are 3 Steps involved in it
Step: 1
Certainly Heres a Python function called isnormalbloodpressure tha...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