79359808

Date: 2025-01-15 22:02:26
Score: 0.5
Natty:
Report link

Turning the question around, why should an order be required to do unpacking?

def foo(a, b):
    return (a, b) if random.random() >= 0.5 else (b, a)
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • High reputation (-2):
Posted by: ti7