Question: 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
Certainly Heres a Python function called isnormalbloodpressure tha... View full answer
Get step-by-step solutions from verified subject matter experts
