Stack Operations Program In Python To Convert