Write a Python class Absolute Progression that extends the Progression class such that each value in the
Fantastic news! We've Found the answer you've been seeking!
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 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
Related Book For
Data Structures and Algorithms in Python
ISBN: 978-1118290279
1st edition
Authors: Michael T. Goodrich , Roberto Tamassia, Michael H. Goldwasser
Posted Date: