human
Overall percentage change from successive changes | Python implementation of above approach.
Calculate successive change of 1 st 2 change.
Calculate successive change for rest of the value.
Driver code.
Calling function"
Solution in Python:

Give me a code to overall percentage change from successive changes and the other steps required?
assistant
#Here is code to overall percentage change from successive changes and the other steps required.
 def successiveChange ( arr , N ) :
	result = 0 ;
	var1 = arr [ 0 ] ;
	var2 = arr [ 1 ] ;
	result = float ( var1 + var2 + ( float ( var1 * var2 ) / 100 ) ) ;
	for i in range ( 2 , N ) :
		result = ( result + arr [ i ] + ( float ( result * arr [ i ] ) / 100 ) ) ;
	return result ;
arr = [ 10 , 20 , 30 , 10 ] ;
N = len ( arr ) ;
result = successiveChange ( arr , N ) ;
print ( " Percentage ▁ change ▁ is ▁ = ▁ % .2f " % ( result ) , " % " ) ;