Arithmetic Progression in Python

In the previous article we have explored the use of various membership operators in Python. Now we will look at the implementation of the Arithmetic Progression in Python. An arithmetic progression is a numerical sequence a 1 , a 2 , …, a n , … in which, for each natural n, the equality is satisfied. a n + 1 = a n + d, where … Read more