题解 | #计算体重指数#

计算体重指数

http://www.nowcoder.com/practice/422f6341cf1b4212a7f8c703df111389

数值计算

weight,height=input().split(" ")
bmi=int(weight)/((int(height)/100)**2)
print("{:.2f}".format(bmi))
全部评论

相关推荐

06-07 00:00
已编辑
北京邮电大学 Java
点赞 评论 收藏
分享
评论
1
收藏
分享

创作者周榜

更多
牛客网
牛客网在线编程
牛客网题解
牛客企业服务