Question

need to create a Tkinter GUI in Python that simulates the Pushdown Automata depicted in the

image attached. The GUI allows the user to enter the strings and get the output as an acceptance or

rejection of that input string.

We are not allowed to use the Python API called "automata -lib" for this assignment.

the only other thing to mention is that the program follows this:

L = {a^n b^2n: n ≥1}

where the number of "b's" is twice the length of "a's" and should be in the sequence of

"aaaabbbbbb" - as 'a' is the first set of characters

Question image 1