human
Program for N | Python 3 Program to find nth term of Arithmetic progression.
using formula to find the Nth term t ( n ) = a ( 1 ) + ( n - 1 ) * d.
starting number.
Common difference.
N th term to be find.
Display the output"
Solution in Python:
 ... Write me a code to program for N and the other steps required?
assistant
#Here is code to program for N and the other steps required.
 def Nth_of_AP ( a , d , N ) :
	return ( a + ( N - 1 ) * d )
a = 2
d = 1
N = 5
print ( " The ▁ " , N , " th ▁ term ▁ of ▁ the ▁ series ▁ is ▁ : ▁ " , Nth_of_AP ( a , d , N ) )