def execute_action(self, agent, action):
if action == '<STR_LIT>':<EOL><INDENT>agent.location = loc_B<EOL>agent.performance -= <NUM_LIT:1><EOL><DEDENT>elif action == '<STR_LIT>':<EOL><INDENT>agent.location = loc_A<EOL>agent.performance -= <NUM_LIT:1><EOL><DEDENT>elif action == '<STR_LIT>':<EOL><INDENT>if self.status[agent.location] == '<STR_LIT>':<EOL><INDENT>agent.performance += <NUM_LIT:10><EOL><DEDENT>self.status[agent.location] = '<STR_LIT>'<EOL><DEDENT>
Change agent's location and/or location's status; track performance.
        Score 10 for each dirt cleaned; -1 for each move.