P5714 【深基3.例7】肥胖问题--python3实现
生活随笔
收集整理的這篇文章主要介紹了
P5714 【深基3.例7】肥胖问题--python3实现
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
https://www.luogu.com.cn/problem/P5715
""" P5714 【深基3.例7】肥胖問題--AC https://www.luogu.com.cn/problem/P5715"""m,h=list(input().split())m=float(m)h=float(h)h=h*hbmi=m/hif bmi<18.5:print("Underweight") else:if bmi<24:print("Normal")else:print("%6.4f" %bmi)print("Overweight")#b = float('%0.3f'%a) 創作挑戰賽新人創作獎勵來咯,堅持創作打卡瓜分現金大獎總結
以上是生活随笔為你收集整理的P5714 【深基3.例7】肥胖问题--python3实现的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: mac os 开启redis_高并发大流
- 下一篇: 提高篇 第一部分 基础算法 第1章 贪心