w=int(input("你的體重kg:")) h=float(input('你的身高m:')) bmi=w/(h**2) print("你的BMI為",'%.2f'%bmi)