human
Program to print triangular number series till n | Function to find triangular number.
For each iteration increase j by 1 and add it into k.
Increasing j by 1.
Add value of j into k and update k.
Driven Code"
How can the above be solved in Python?

Give me a code to program to print triangular number series till n and the other steps required?
assistant
#Here is code to program to print triangular number series till n and the other steps required.
 def triangular_series ( n ) :
	j = 1
	k = 1
	for i in range ( 1 , n + 1 ) :
		print ( k , end = ' ▁ ' )
j = j + 1
	k = k + j
n = 5
triangular_series ( n )