DISH interview question

Design a stack in python