Question: Write a Python program, with the given Python files. o Enhancing Array-List: Enhance and implement a List ADT (with Array-based approach), by modifying our given



Write a Python program, with the given Python files. o Enhancing Array-List: Enhance and implement a List ADT (with Array-based approach), by modifying our given Python file AoneB.py (based on the one in our lecture notes, Alist.py) o Extra Operations (methods of the class) to be implemented by Students: At least one line of simple comment for each extra operation required Operation (AList) Description isEmptyL(): bool Check if the list is empty or not appendL(elt): Insert a new element elt into the end of the current list. removeLastL():elt Remove & return the last element elt of the list Return None in case of empty list searchL(elt):int Search & return the position of the first occurrence of an input searching element elt. * Position starts from 1. Return - 1 if not exist. o o Given Materials: Python file AoneB.py, to be modified and completed by student. Also modify top comments for your STUDENT INFO. (DO NOT modify this given portions, including given methods if any) Python file AoneBT.py for basic running and testing. DO NOT modify this given test file, except the STUDENT INFO part. File AoneB.py, to be modified and completed by student. # AoneB.py, for IDSA Assign 1 class Alist: # defining a class of Dynamic-Array-List # ... ############ STUDNET'S WORK ##### # simple comment HERE def isEmptyL(self): pass # TO BE DONE # AND MORE File Aonelt.py for basic running and testing # AoneCT.py, for basic running and testing. # * DO NOT modify this given test file, except the STUDENT INFO part. # Main Testing Program from Aone import Alist def main(): print("=== A1B, Enhanced ArrayList, by
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
