def solve(self):
for i in range(<NUM_LIT:4>):<EOL><INDENT>for slot in ["<STR_LIT>", "<STR_LIT>", "<STR_LIT>", "<STR_LIT>"]:<EOL><INDENT>solver = F2LPairSolver(self.cube, slot)<EOL>if not solver.is_solved():<EOL><INDENT>yield tuple([self.cube[slot[i]].colour for i in range(<NUM_LIT:2>)]), solver.solve()<EOL>break<EOL><DEDENT><DEDENT><DEDENT>
Solve the entire F2L. (Generator)