# 9/29 Python作業 (BMI) ```=python #輸入你的身高(公尺) height = float(input(" Please type your height (m): ")) #輸入你的體重(公斤) weight = float(input(" Please type your weight (kg): ")) #取得BMI BMI = weight / height**2 #輸出你的BMI print("Your BMI is " + str(BMI)) ``` ![](https://i.imgur.com/wvX8azk.png)