📅  最后修改于: 2022-03-11 15:00:42.762000             🧑  作者: Mango
def push(Books):
Stack.append(Books)
print 'Element:', Book, 'inserted successfully'
def pop():
if Stack == []:
print('Stack is empty!')
else:
print('Deleted element is',Stack.pop())