Python programming: Please help!!
We want to build a tokenizer for simple expressions such as xpr= “res = 3 + x_sum*11”. Such expressions comprise only threetokens, as follows: (1) Integer literals: one or moredigits e.g., 3 11; (2) Identifiers: strings starting witha letter or an underscore and followed by more letters, digits, orunderscores e.g., res x_sum; (3) Operators: = + * .Leading or trailing whitespace characters should be skipped.
(a) Write a regular expression pattern for theabove grammar and use it with re.findall to split the expressioninto a list of lexemes. If using xpr above, the list returnedshould be:
[‘res’, ‘=’, ‘3’, ‘+’,
PayPal Gateway not configured
PayPal Gateway not configured