Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- mass = float(input("Input your mass in kilograms. "))
- height = float(input("Input your height in meters. "))
- bMI = mass / height**2
- bMIPrime = bMI/25
- print("Your BMI Prime is ", bMIPrime)
- if bMIPrime < .6:
- print("You are morbidly underweight.")
- elif bMIPrime < .64: ##Elif function will keep it in range
- print("You are severely underweight.")
- elif bMIPrime < .74:
- print("You are underweight.")
- elif bMIPrime < 1:
- print("You are normal. Weight-wise, that is. You could be abormal for other reasons. Scary, isn't it?")
- elif bMIPrime <1.2: ##Hope they don't get offended
- print("You are overweight.")
- elif bMIPrime < 1.4:
- print("You are moderately obese.")
- elif bMIPrime < 1.6: ##Really hope they don't get offended
- print("You are severely obese.")
- else: ##Really, really hope they don't get offended
- print("You are morbidly obese.")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement