# -*- coding: utf-8 -*- """ Created on Wed Sep 2 13:55:31 2020 @author: Administrator 02.BMI計算 運算子 """ weight= int(input("請輸入體重:")) height = int(input("請輸入身高:")) bmi=weight/((height/100)**2) print(bmi)