
class Parser:
    def __init__(self):
        self.T_And = ''
        self.T_False = ''

    # False
    def handleInput(self, input):
        # Assuming T_Or should be an instance variable, similar to T_And
        if input == self.T_Or or input == self.T_And:
           print('input is Or or And')