input: def build_stone_pyramid(n):
      """
      Given a positive integer n, construct a pyramid with n levels of stones.
      The first level consists of n stones.
      The number of stones in each subsequent level is:
          - the next odd number if n is odd.
          - the next even number if n is even.
      Return a list with the number of stones at each level, where the element at index
      i indicates the number of stones on level (i+1).
  
      Examples:
      >>> build_stone_pyramid(3)
      [3, 5, 7]
      """
output:     pyramid = []
      
      for i in range(n):
          if n % 2 == 0:
              pyramid.append(n + 2 * i)
          else:
              pyramid.append(n + 2 * i)
      
      return pyramid