Preview:
print("--- MY BMI CALCULATOR ---")
print(" 1 for Kilograms and Meters")
print("2 for Pounds and Inches")
unit_type = input("Choose 1 or 2: ")
if unit_type == "1":
    w = float(input("place your weight in kg: "))
    h = float(input("place your height in meters: "))
    result = w / (h * h)
if unit_type == "2":
    w = float(input("Enter weight in lbs: "))
    h = float(input("Enter height in inches: "))
    result = (w / (h * h)) * 703
print("Your BMI is:")
print(result)
if result < 18.5:
    print("Status: Stick man.com")
elif result < 25:
    print("Status:majembe")
elif result < 30:
    print("Status: nicocado avocado")
else:
    print("Status: you are huge")
downloadDownload PNG downloadDownload JPEG downloadDownload SVG

Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!

Click to optimize width for Twitter