2019年3月24日

Pytho条件判断

摘要: 1 def health_status(): 2 height = float(input("请输入身高(单位:米) :")) 3 weight = float(input("请输入体重(单位:公斤) :")) 4 status = weight / (height * height) 5 if status 32: 14 print(... 阅读全文

posted @ 2019-03-24 12:44 詹生 阅读(187) 评论(0) 推荐(0) 编辑

导航