79281211

Date: 2024-12-14 19:12:42
Score: 1
Natty:
Report link

Well through trial and error, and mostly just re-reading material, I finally realized my issue was with the return function.

    def __str__(self):

            return '[Company {}]'.format(self.company)

was changed to:

    def __repr__(self):
           return '{}'.format(self.company)

I can finally get a good night's sleep.

Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Rick