print("""****************************
Beden Kitle İndeksi Hesaplama Programı
****************************""")
boy = float(input("Boyunuz(m) Örn:1.75 : "))
kilo = int(input("Kilonuz(kg) Örn:75 : "))
indeks = kilo / (boy * boy)
indeks = float(indeks)
if indeks < 18.5:
print("Beden Kitle İndeksiniz: {:.2f} - Zayıf".format(indeks))
elif indeks > 18.5 and indeks < 25:
print("Beden Kitle İndeksiniz: {:.2f} - Normal".format(indeks))
elif indeks > 25 and indeks < 30:
print("Beden Kitle İndeksiniz: {:.2f} - Fazla Kilolu".format(indeks))
else:
print("Beden Kitle İndeksiniz: {:.2f} - Obez".format(indeks))
#OUTPUT
****************************
Beden Kitle İndeksi Hesaplama Programı
****************************
Boyunuz(m) Örn:1.75 : 1.76
Kilonuz(kg) Örn:75 : 82
Beden Kitle İndeksiniz: 26.47 - Fazla Kilolu