input: Write a python function to calculate BMI given weight and height and classify it into categories.
  assert calculate_bmi(50, 170) == (17.3, "Underweight")
  assert calculate_bmi(65, 175) == (21.2, "Normal weight")
  assert calculate_bmi(80, 160) == (31.2, "Obese")
  assert calculate_bmi(75, 170) == (25.9, "Overweight")
output: def calculate_bmi(weight, height):
      bmi = round(weight / (height / 100) ** 2, 1)
      if bmi < 18.5:
          category = "Underweight"
      elif 18.5 <= bmi < 24.9:
          category = "Normal weight"
      elif 25 <= bmi < 29.9:
          category = "Overweight"
      else:
          category = "Obese"
      return (bmi, category)