human
Find the sum of series 3 , | calculate sum upto N term of series.
Driver code"
How can the above be solved in Python?
assistant
#Here is code to find the sum of series 3 , and the other steps required.
 def Sum_upto_nth_Term ( n ) :
	return ( 1 - pow ( - 2 , n ) )
N = 5
print ( Sum_upto_nth_Term ( N ) )