def current_fact_index(self):
        """Current fact index in the self.facts list."""
        facts_ids = [fact.id for fact in self.facts]
        return facts_ids.index(self.current_fact.id)
def current_fact_index ( self ) : facts_ids = [ fact . id for fact in self . facts ] return facts_ids . index ( self . current_fact . id )
Current fact index in the self.facts list.