input: 
  def compoundInterest(investment_amount: float, rate_of_interest: float, time: int) -> float:
      """ Calculate the compound interest based on the given investment amount, rate of interest, and time period.
      >>> compoundInterest(1000, 5, 5)
      1276.2815625000003
      >>> compoundInterest(2000, 3, 10)
      2687.8328428282912
      """
      compound_interest = investment_amount * (pow((1 + rate_of_interest / 100), time))
      return compound_interest
  
output:     compound_interest = investment_amount * (pow((1 + rate_of_interest / 100), time))
      return compound_interest