input: def consume_carrots(initial, requirement, stockpile):
      """
      Imagine you're a bunny with a partial carrot intake for the day, and you need to consume additional carrots to meet your daily requirement.
      This function should return a list that contains:
      [total carrots consumed after the day’s meals, remaining carrots post meals]
      If the carrots available are insufficient, you'll eat all that you can but remain hungry.
  
      Example:
      * consume_carrots(5, 6, 10) -> [11, 4]
      * consume_carrots(4, 8, 9) -> [12, 1]
      * consume_carrots(1, 10, 10) -> [11, 0]
      * consume_carrots(2, 11, 5) -> [7, 0]
      
      Variables:
      @initial : integer
          the number of carrots initially consumed.
      @requirement : integer
          the number of additional carrots needed.
      @stockpile : integer
          the total carrots available in stock.
      
      Constraints:
      * 0 <= initial <= 1000
      * 0 <= requirement <= 1000
      * 0 <= stockpile <= 1000
  
      Enjoy coding :)
      """
output:     additional_needed = requirement
      if stockpile >= additional_needed:
          total_consumed = initial + additional_needed
          remaining_stockpile = stockpile - additional_needed
      else:
          total_consumed = initial + stockpile
          remaining_stockpile = 0
  
      return [total_consumed, remaining_stockpile]