height = 1.75 weight = 80.5 bmi = weight/(height**2) if bim <= 18.5: print("guoqing") elif bim <= 25: print("zhengchang") elif bim <= 28: print("guozhong") elif bim <= 32: print("feipang") else: print ("yanzhongfeipang")
Sign in to make a reply
制