def __eq__(self, other):
        """ compares this cube and another for to be equal """
        return self.front   == other.front  \
            and self.back   == other.back   \
            and self.left   == other.left   \
            and self.right  == other.right  \
            and self.top    == other.top    \
            and self.bottom == other.bottom
 compares this cube and another for to be equal 
recipes/Python/578454_Puzzle_Four_cubes_different_colors_their/recipe-578454.py