<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def skip(self, n):
 """Skip the specified number of elements in the list. If the number skipped is greater than the number of elements in the list, hasNext() becomes false and available() returns zero as there are no more elements to retrieve. arg: n (cardinal):
 the number of elements to skip *compliance: mandatory -- This method must be implemented.* """

        try:
            self._iter_object.skip(n)
        except AttributeError:
            for i in range(0, n):
                self.next()