def reset (self):

        """This sets the current_state to the initial_state and sets
        input_symbol to None. The initial state was set by the constructor
        __init__(). """

        self.current_state = self.initial_state
        self.input_symbol = None
This sets the current_state to the initial_state and sets
        input_symbol to None. The initial state was set by the constructor
        __init__(). 
recipes/Python/146262_Finite_State_Machine_FSM/recipe-146262.py