不难的你看,
w=input('weight') weight>? 66 h=input('height') height>? 172 bmi=int(w)/int(int(h)^2) print('bmi is:{}'.format(bmi)) bmi is:0.3793103448275862