Python program to find the type of the progression and the next successive member of the three successive members of a sequence.
For the above Python program to find the Arithmetic and Geometric Progression of a sequence, you need to understand that An arithmetic progression (AP) is a sequence of numbers such that the difference of any two successive members of the sequence is a constant. For instance, the sequence 3, 5, 7, 9, 11, 13, ….