vendredi 23 mars 2018

formating and conditionals in python

Here's my assignment: 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.

Heres what I did: enter image description here

what im doing wrong here?

Aucun commentaire:

Enregistrer un commentaire