Oct-22-2019, 06:30 PM
hi. I need some help here as a beginner. I just need help with task 3. I don't even know where to begin.
here is the link for the assignment at GitHub. Any help would be greatful, thank you.
https://github.com/is210-spring-2017/is2...-08-warmup
Specifications
1.Work on a new line on your existing notebook
2.Using a combination of raw_input(), if, elif, and else, write a program that asks the user their blood pressure. Compare the blood pressure against the following chart and save the Status to a variable named BP_STATUS. At the end of the program, print a nice sentence with a formatting string to tell you your status and use .format() to replace the formatting string with your BP_STATUS.
Blood Pressure Readings
Hint
Don't forget that the input of raw_input is a string!
Expected Output
$ python -i task_05.py
What is your blood pressure? 120
Your status is currently: Warning!
here is the link for the assignment at GitHub. Any help would be greatful, thank you.
https://github.com/is210-spring-2017/is2...-08-warmup
Specifications
1.Work on a new line on your existing notebook
2.Using a combination of raw_input(), if, elif, and else, write a program that asks the user their blood pressure. Compare the blood pressure against the following chart and save the Status to a variable named BP_STATUS. At the end of the program, print a nice sentence with a formatting string to tell you your status and use .format() to replace the formatting string with your BP_STATUS.
Blood Pressure Readings
Hint
Don't forget that the input of raw_input is a string!
Expected Output
$ python -i task_05.py
What is your blood pressure? 120
Your status is currently: Warning!