input: Write a python function to calculate the BMI of a patient using their weight and height.
  assert Patient("John Doe", 30, 180, 1.80, ["diabetes", "hypertension"]).get_bmi() == 55.55555555555556
  assert Patient("Jane Doe", 25, 150, 1.65, ["asthma"]).get_bmi() == 55.0561797752809
  assert Patient("Alice Smith", 40, 200, 1.75, ["obesity"]).get_bmi() == 65.3061224489796
output: class Patient:
      def __init__(self, name, age, weight, height, medical_conditions):
          self.name = name
          self.age = age
          self.weight = weight
          self.height = height
          self.medical_conditions = medical_conditions
      
      def get_bmi(self):
          return self.weight / (self.height ** 2)