Stack Operations Using Arrays In Python Explained