GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — RecentProject/python_selflearning_code/BMI.py at python · sys0527/RecentProject Expand file tree/ Copy pathBMI.pyMore file actions 13 lines (13 loc) · 324 Bytes / Copy pathBMI.pyFile metadata and controls13 lines (13 loc) · 324 Bytes 1 2 3 4 5 6 7 8 9 10 11 12 13 #BMI练习 h = float(input('请输入身高:【以m为单位】')) w = float(input('请输入体重:')) if w/h**2 < 18.5: print('过轻') elif w/h**2 > 32: print('严重肥胖') elif 18.5 <= w/h**2 < 25: print('正常') elif 25 <= w/h**2 < 28: print('过重') elif 28 <= w/h**2 < 32: print('肥胖') |
| You are visitor 01402520 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |