Python program to change one element of an array such that the resulting array is in arithmetic progression .
def makeAP ( arr , n ) : NEW_LINE INDENT initial_term , common_difference = 0 , 0 NEW_LINE DEDENT