Python
[Python] 모각코 _ 8일차
보라해바라기
2022. 2. 16. 09:55
SMALL
https://codemate.kr/@jgh0711/파이썬-8일차-BMI-결과-보기
[파이썬 8일차] BMI 결과 보기 by jgh0711 | 코드메이트
height = (int(input("키를 입력하세요: "))) / 100 weight = int(input("몸무게를 입력하세요: ")) bmi = weight / (height * height) if (bmi >= 25): print("비만입니다.")
codemate.kr
728x90