w=int(input("你的體重kg:")) h=float(input('你的身高m:')) bmi=w/(h**2) print("你的BMI為",'%.2f'%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