Answered step by step
Verified Expert Solution
Question
1 Approved Answer
#EX1 from AList import AList #include AList file and import AList class # task1: create an arraylist of 5 -object name: ObjList print(task1: create an
#EX1 from AList import AList #include AList file and import AList class # task1: create an arraylist of 5 -object name: ObjList print("task1: create an arraylist of 5 -object name: ObjList") ObjList=AList(5) ObjList.displayLO) # task2: add the following letters to the list successfully #position 1: P #position 2: #position 4: C #position 5: U # position 3: W print("task2: add the following letters to the list") print() # task3: add two more letters, T and B to index 5 and 6 respectively print("task3: add two more letters, T and B to index 5 and 6 respectively") # task 4: remove K and W #task 5: add X to position 1 #task 6: add M to the end # task 7: what is in position 5? # task 8: what is in index 3? # task 9: what is the size of list? # task 10: show the list item EX2 #Redo EX1 using LList.py class file #Which means u implement using linked-list concept
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started