Question: Write a Python class Absolute Progression that extends the Progression class such that each value in the progression is the absolute value of the difference

Write a Python class Absolute Progression that extends the Progression class such that each value in the progression is the absolute value of the difference between the previous 2. Your constructor should accept 2 numbers as the first and second numbers and must have default values of 2 and 200. Hint: Use the Fibonacci Progression class to assist you

Step by Step Solution

3.39 Rating (152 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Algorithms Questions!