input: Write a python function to calculate the total price of items added using the TotalPriceCalculator class.
  assert calculate_total_price([10, 20, 30]) == 60
  assert calculate_total_price([5, 15, 25, 35]) == 80
  assert calculate_total_price([]) == 0
output: def calculate_total_price(prices):
      class TotalPriceCalculator:
          def __init__(self):
              self.total = 0
          
          def add(self, price):
              self.total += price
          
          def get_total(self):
              return self.total
  
      calculator = TotalPriceCalculator()
      
      for price in prices:
          calculator.add(price)
      
      return calculator.get_total()