79355479

Date: 2025-01-14 15:25:55
Score: 0.5
Natty:
Report link

By adding Status.NEW to a empty string (print("" + Status.NEW)), it is converted to a string with it's __str__, which will be NEW. When you just use print(Status.NEW), python using the __repr__ method instead, which will be Status.NEW, instead of NEW

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Mippy