Created
March 19, 2011 12:14
-
-
Save symtkn/877438 to your computer and use it in GitHub Desktop.
boy-kütle-indeksi
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
#!/usr/bin/python | |
while True : | |
kiLo=input("lütfen kilonuzu kg cinsinden giriniz:") | |
boy=input("lütfen boyunuzu birimi metre olacak şekilde giriniz:") | |
bmi=kiLo/(boy**2) | |
if bmi < 18.5 : | |
print "Zayıfsınız bünyenize dikkat ediniz." | |
elif 18.5 < bmi < 25 : | |
print "ideal kilodasınız." | |
else: | |
print "Kilonuz fazla,yediklerinize dikkat ediniz." | |
break | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment