Question: I need help with my Python program please User can choose to type any number of spaces between an identifier, literal and the = sign
I need help with my Python program please
User can choose to type any number of spaces between an identifier, literal and the = sign or + sign or > sign, etc.

When a user presses the next line the first time, the list belonging to the first line will be printed on the right side. In you last GUI homework, you printed out this line directly. This time, you need call the token finding function that you wrote in HW3 to find out the list for a single line of code.
The lexer can have different appearance, this is just an example
When user press Next Line button, the second line gets processed and the GUI looks like the following graph and gives out more pairs.

Lexer for TinyPie Source Code Tokens int A1=5 int BBB2 =1034 cresult A1 +BBB2 int BBB2 if (cresult >10): print("TinyPie ) Current line number: 1 Exit Next Line When user press "Next Line" button, the second line gets processed and the GUI looks like the following graph and gives out more pairs. Lexer for TinyPie Source Code Tokens int A1=5 int BBB2 = 1034 cresult A1 +BBB2 int BBB2 if (cresult >10): print("TinyPie ) And so on... Current line number: 2 Exit Next Line Lexer for TinyPie Source Code Tokens int A1=5 int BBB2 =1034 cresult A1 +BBB2 int BBB2 if (cresult >10): print("TinyPie ) Current line number: 1 Exit Next Line When user press "Next Line" button, the second line gets processed and the GUI looks like the following graph and gives out more pairs. Lexer for TinyPie Source Code Tokens int A1=5 int BBB2 = 1034 cresult A1 +BBB2 int BBB2 if (cresult >10): print("TinyPie ) And so on... Current line number: 2 Exit Next Line