Write An Algorithm For Push And Pop In Stack In Python