0
A menu driven program to Create a List & INSERTING AN ELEMENT AT BEGINNING, END, AT A SPECIFIC POSITION, REMOVING FROM A SPEC
please any know thus question if u know it please share the answer
2 Respostas
+ 8
We're sorry but we can't give you the solution but we can give you some hints that may help:
(1)To insert an element to a list:
>> list.insert(0, element)
# where 0 is the index
(2)To insert an element to the end of the list:
>> list.append(element)
(3)To remove a specific element from the list:
>> list.remove(element)
If you have more questions, feel free to ask. And if you already have your code, please show us your attempt so we may fix it. Thanks!
+ 6
Without your attempt, the question is incomplete.