Coupa Software Inc interview question

Write a python code to implement stack?