# Python 04-1_BMI2.0 411073011 2022.3.15 ```python= h = float(input('老師身高(cm):'))/100 w = float(input('老師體重(kg):')) bmi = w/(h*h) print(f'資訊老師的 BMI 數值為:{round(bmi, 2)}') ```
×
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