Python Forum
[split] beginner and need help with python
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[split] beginner and need help with python
#3
ok so this is what ive got so far. but I need some help putting in all the numbers that would indicate low, high, emergency.

print ("What is your blood pressure?")
BP_STATUS = input()
status = float(BP_STATUS)

if status >= 139:
   print ('Your status is currently: Warning!')
elif 110 <= status < 90:
   print ('Your status is currently: Ideal')
else: 
   print ('Your status is currently: low')
Reply


Messages In This Thread
RE: [split] beginner and need help with python - by kalitr33 - Oct-23-2019, 07:23 PM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020