fork download
  1. height=1.8
  2. weight=60
  3. bmi=weight/height**2
  4. print(f'您的体质指数为{round(bmi,1)}')
Success #stdin #stdout 0.07s 14120KB
stdin
Standard input is empty
stdout
您的体质指数为18.5