input: Write a function that prints out the Pascal's triangle for a given number of rows. The function should take an integer `n` as input and print each row of the Pascal's triangle up to the `n`th row.
  
  def pascal_triangle(n): 
      trow = [1] 
      y = [0] 
      for x in range(max(n, 0)): 
          print(trow) 
          trow=[l+r for l,r in zip(trow + y, y + trow)] 
      return n>=1
  
  assert pascal_triangle(0)==False
  assert pascal_triangle(1)==True
  assert pascal_triangle(5)==True
  assert pascal_triangle(10)==True
  assert pascal_triangle(-1)==False
output: def pascal_triangle(n): 
      trow = [1] 
      y = [0] 
      for x in range(max(n, 0)): 
          print(trow) 
          trow=[l+r for l,r in zip(trow + y, y + trow)] 
      return n>=1