# 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)) ``` 
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up