L1-061 新胖子公式 python
python 实现
s=input() weight=float(s.split(" ")[0]) height=float(s.split(" ")[1]) ratio=weight/(height*height) print("{:.1f}".format(ratio)) if ratio>25: print("PANG") else: print("Hai Xing")
python 实现
s=input() weight=float(s.split(" ")[0]) height=float(s.split(" ")[1]) ratio=weight/(height*height) print("{:.1f}".format(ratio)) if ratio>25: print("PANG") else: print("Hai Xing")