Write the constructor of the class OrderedList that contains the following 4 atributes: n the length of the list, step and index (two private instance variable initialized at 0), and items that represents a list of n items initialized with integer numbers going from 1 to n. Write also the two get methods get_index and get_step Show transcribed image text Write the constructor of the class OrderedList that contains the following 4 atributes: n the
OR
OR