Creating Stack Using Array In Python