Which function returns the sum of all elements of a list?
Write methods in Python to Add a new Book and Remove a Book from a List of Books, considering them to act as PUSH and POP operations of the data structure stack.
Write an Addnew(Book) method to Add a new Book.
Write a Remove(Book) method to Remove a Book.
Write functions in Python for performing Push and Pop operations with a stack of List containing integers.
Write a function PushS(List) for performing Push operation.
Write a function PopS(List) for performing Pop operation.