input: Write a function to print a Pascal triangle of a given number of rows. The function should use an auxiliary array to store the generated Pascal triangle values and iterate through each line to print the integers in it. The function should take the number of rows as input and return nothing.
  def PascalTriangle(n):
      arr = [0 for i in range(n)]
      for line in range(0, n):
          for i in range(0, line + 1):
              if (i == 0 or i == line):
                  arr[i] = 1
              else:
                  arr[i] = arr[i] + arr[i - 1]
          for i in range(0, line + 1):
              print(arr[i], end=" ")
          print()
  
  assert PascalTriangle(5) is None
  assert PascalTriangle(3) is None
  assert PascalTriangle(0) is None
  assert PascalTriangle(1) is None
output: def PascalTriangle(n):
      arr = [0 for i in range(n)]
      for line in range(0, n):
          for i in range(0, line + 1):
              if (i == 0 or i == line):
                  arr[i] = 1
              else:
                  arr[i] = arr[i] + arr[i - 1]
          for i in range(0, line + 1):
              print(arr[i], end=" ")
          print()