How To Define Stack In Python