def print_parents(self):
if self.gender == female:<EOL><INDENT>title = '<STR_LIT>'<EOL><DEDENT>elif self.gender == male:<EOL><INDENT>title = '<STR_LIT>'<EOL><DEDENT>else:<EOL><INDENT>title = '<STR_LIT>'<EOL><DEDENT>p1 = self.parents[<NUM_LIT:0>]<EOL>p2 = self.parents[<NUM_LIT:1>]<EOL>template = '<STR_LIT>'<EOL>print(template % (title, p1.name, p1.epithet, p2.name, p2.epithet))<EOL>
Print parents' names and epithets.