input: Write a function to generate a Pascal triangle and print it. The function should take an integer parameter `n` representing the number of rows in the triangle. If `n` is 0, the function should print 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) == None
  assert PascalTriangle(0) == 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()