Computer Science, asked by sahibsaifi12291, 5 months ago

Write a menu driven program in Python to insert, delete and display the book_id, book_name and

book_price of a book using Stack.​

Answers

Answered by cutipiebabydoll
2

Answer:

The program appends, deletes and displays elements of a list using classes.

1. Create a class and using a constructor initialize values of that class.

2. Create methods for adding, removing and displaying elements of the list and return the respective values.

3. Create an object for the class.

4. Using the object, call the respective function depending on the choice taken from the user.

5. Print the final list.

6. Exit

Explanation:

I hope it helps you dear ❣️❣️☺️☺️❤️❤️

Similar questions