> def __str__(self): > output = '%s:%s' % (self.expert_id, self.name) > output += '\nKnown topics: %s' % (', '.join(str(self.topics))) You're turning your list into a string -- try this: ', '.join([str(x) for x in self.topics])