Stack Machine Program In Python
eate a Stack Machine to validate if a string is a palindrome. You must validate the input string using the Stack machine
Here are the Stack Machine Rules(picture1)
The determination that the input string is in fact a palindrome is that the input string is used and the Stack is empty, any other condition and the string is not a palindrome. In addition to verifying the string,I also want a display of the results from each step, similar to the following: (picture2)