input: Write a python function to calculate the product of the first n positive integers.
  assert calculate_product(5) == 120
  assert calculate_product(3) == 6
  assert calculate_product(1) == 1
output: def calculate_product(n):
      product = 1
      for i in range(1, n + 1):
          product *= i
      return product