fork download
  1. height = 1.75
  2. weight = 75
  3. username ='小明'
  4. bmi = weight / height**2
  5. print(f'{username}您好,您的体质指数为(round(bmi,1)')
Success #stdin #stdout 0.11s 14072KB
stdin
Standard input is empty
stdout
小明您好,您的体质指数为(round(bmi,1)