0

Hipertensión1 = S == range(140,159) and D == range(90,99) So I'm trying to make a project related to the medical field.

I want the systolic value to be between 140 and 159 and the Diastolic value between 90 and 99 for Hipertension type 1 to be True.

1 Answers1

1
if (140 <= systolic_value <= 159) and (90 <= diastolic_value <= 99):
    hypertension_1 = True
Damiaan
  • 777
  • 4
  • 11
  • @AnthonyCodno problem, if you can, please set the answer as the accepted one to help future searchers! – Damiaan Apr 05 '22 at 17:38
  • 1
    I think I just did that, I am new to this website and learning to use it. I hope I marked it as the correct answer. – Anthony Cod Apr 05 '22 at 17:43