human
Program to print Arithmetic Progression series | Python 3 Program to print an arithmetic progression series.
Printing AP by simply adding d to previous term ..
starting number.
Common difference.
N th term to be find"
Solution in Python:

What is a code to program to print Arithmetic Progression series and the other steps required?
assistant
#Here is code to program to print Arithmetic Progression series and the other steps required.
 def printAP ( a , d , n ) :
	curr_term
curr_term = a
	for i in range ( 1 , n + 1 ) :
print ( curr_term , end = ' ▁ ' )
	curr_term = curr_term + d
a = 2
d = 1
n = 5
printAP ( a , d , n )