human
Sum of the series 1 , 3 , 6 , 10. . . ( Triangular Numbers ) | Function to find the sum of series.
Driver code"
Solution in Python:
 Give me a code to sum of the series 1 , 3 , 6 , 10?
assistant
#Here is code to sum of the series 1 , 3 , 6 , 10.
 def seriesSum ( n ) :
	return int ( ( n * ( n + 1 ) * ( n + 2 ) ) / 6 )
n = 4
print ( seriesSum ( n ) )